Commit 8b0a8aaf authored by Glauber Costa's avatar Glauber Costa Committed by Ingo Molnar

x86: introduce likely in macro.

Put the likely hint in access_ok. Just for
bisectability.
Signed-off-by: default avatarGlauber Costa <gcosta@redhat.com>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c28b95d9
......@@ -48,7 +48,7 @@
flag; \
})
#define access_ok(type, addr, size) (__range_not_ok(addr, size) == 0)
#define access_ok(type, addr, size) (likely(__range_not_ok(addr, size) == 0))
/*
* The exception table consists of pairs of addresses: the first is the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment