diff options
-rw-r--r-- | mm/zsmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 4396b82fabaf..1fe9928d0ff1 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c | |||
@@ -825,7 +825,7 @@ static unsigned long obj_to_head(struct size_class *class, struct page *page, | |||
825 | { | 825 | { |
826 | if (class->huge) { | 826 | if (class->huge) { |
827 | VM_BUG_ON(!is_first_page(page)); | 827 | VM_BUG_ON(!is_first_page(page)); |
828 | return *(unsigned long *)page_private(page); | 828 | return page_private(page); |
829 | } else | 829 | } else |
830 | return *(unsigned long *)obj; | 830 | return *(unsigned long *)obj; |
831 | } | 831 | } |