aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/getorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/getorder.h')
-rw-r--r--include/asm-generic/getorder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-generic/getorder.h b/include/asm-generic/getorder.h
index e0fb4bf9f160..65e4468ac53d 100644
--- a/include/asm-generic/getorder.h
+++ b/include/asm-generic/getorder.h
@@ -49,8 +49,8 @@ int __get_order(unsigned long size)
49#define get_order(n) \ 49#define get_order(n) \
50( \ 50( \
51 __builtin_constant_p(n) ? ( \ 51 __builtin_constant_p(n) ? ( \
52 (n == 0UL) ? BITS_PER_LONG - PAGE_SHIFT : \ 52 ((n) == 0UL) ? BITS_PER_LONG - PAGE_SHIFT : \
53 ((n < (1UL << PAGE_SHIFT)) ? 0 : \ 53 (((n) < (1UL << PAGE_SHIFT)) ? 0 : \
54 ilog2((n) - 1) - PAGE_SHIFT + 1) \ 54 ilog2((n) - 1) - PAGE_SHIFT + 1) \
55 ) : \ 55 ) : \
56 __get_order(n) \ 56 __get_order(n) \