git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: introduce likely in macro.
[sfrench/cifs-2.6.git]
/
include
/
asm-x86
/
uaccess_64.h
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