diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2014-10-21 14:25:38 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-22 14:03:06 +1100 |
commit | 6643773ce1a17c99a3ce29ee8ac2b114d2ba771f (patch) | |
tree | 0bbb6fbdc00c11d3529b3056f5c93c0d47f767a5 /README | |
parent | c3351dfabf5c78fb5ddc79d0f7b65ebd9e441337 (diff) | |
download | linux-6643773ce1a17c99a3ce29ee8ac2b114d2ba771f.tar.gz linux-6643773ce1a17c99a3ce29ee8ac2b114d2ba771f.tar.bz2 linux-6643773ce1a17c99a3ce29ee8ac2b114d2ba771f.zip |
powerpc/mm: Fix build error with hugetlfs disabled
arch/powerpc/mm/slice.c:704:5: error: expected identifier or ‘(’ before numeric constant
int is_hugepage_only_range(struct mm_struct *mm, unsigned long addr,
^
make[1]: *** [arch/powerpc/mm/slice.o] Error 1
make: *** [arch/powerpc/mm/slice.o] Error 2
This got introduced via 1217d34b531c76362217057ca70a8ce8950574e0
"powerpc: Ensure global functions include their prototype". We
started including linux/hugetlb.h with that patch and now we have
#define is_hugepage_only_range(mm, addr, len) 0
with hugetlbfs disabled.
Fixes: 1217d34b531c ("powerpc: Ensure global functions include their prototype")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions