projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c28b95d
)
x86: introduce likely in macro.
author
Glauber Costa
<gcosta@redhat.com>
Mon, 30 Jun 2008 20:34:39 +0000
(17:34 -0300)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 9 Jul 2008 07:14:15 +0000
(09:14 +0200)
Put the likely hint in access_ok. Just for
bisectability.
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/uaccess_64.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-x86/uaccess_64.h
b/include/asm-x86/uaccess_64.h
index dc6dde0583811c15918d6b0055efe2c4d498cf17..0077dbe9359eac2e29c7e89234599a7ccd114f48 100644
(file)
--- a/
include/asm-x86/uaccess_64.h
+++ b/
include/asm-x86/uaccess_64.h
@@
-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