aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-x86/uaccess_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/uaccess_64.h b/include/asm-x86/uaccess_64.h
index dc6dde058381..0077dbe9359e 100644
--- a/include/asm-x86/uaccess_64.h
+++ b/include/asm-x86/uaccess_64.h
@@ -48,7 +48,7 @@
48 flag; \ 48 flag; \
49}) 49})
50 50
51#define access_ok(type, addr, size) (__range_not_ok(addr, size) == 0) 51#define access_ok(type, addr, size) (likely(__range_not_ok(addr, size) == 0))
52 52
53/* 53/*
54 * The exception table consists of pairs of addresses: the first is the 54 * The exception table consists of pairs of addresses: the first is the