diff options
Diffstat (limited to 'mm/nommu.c')
-rw-r--r-- | mm/nommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/nommu.c b/mm/nommu.c index fed1b6e9c89b..99b7ec318824 100644 --- a/mm/nommu.c +++ b/mm/nommu.c | |||
@@ -108,7 +108,7 @@ unsigned int kobjsize(const void *objp) | |||
108 | * The ksize() function is only guaranteed to work for pointers | 108 | * The ksize() function is only guaranteed to work for pointers |
109 | * returned by kmalloc(). So handle arbitrary pointers here. | 109 | * returned by kmalloc(). So handle arbitrary pointers here. |
110 | */ | 110 | */ |
111 | return PAGE_SIZE << compound_order(page); | 111 | return page_size(page); |
112 | } | 112 | } |
113 | 113 | ||
114 | /** | 114 | /** |