diff options
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r-- | arch/xtensa/kernel/syscall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/syscall.c b/arch/xtensa/kernel/syscall.c index 5d3f7a119ed1..83cf49685373 100644 --- a/arch/xtensa/kernel/syscall.c +++ b/arch/xtensa/kernel/syscall.c | |||
@@ -57,6 +57,7 @@ asmlinkage long xtensa_fadvise64_64(int fd, int advice, | |||
57 | return sys_fadvise64_64(fd, offset, len, advice); | 57 | return sys_fadvise64_64(fd, offset, len, advice); |
58 | } | 58 | } |
59 | 59 | ||
60 | #ifdef CONFIG_MMU | ||
60 | unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, | 61 | unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, |
61 | unsigned long len, unsigned long pgoff, unsigned long flags) | 62 | unsigned long len, unsigned long pgoff, unsigned long flags) |
62 | { | 63 | { |
@@ -93,3 +94,4 @@ unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, | |||
93 | addr = COLOUR_ALIGN(addr, pgoff); | 94 | addr = COLOUR_ALIGN(addr, pgoff); |
94 | } | 95 | } |
95 | } | 96 | } |
97 | #endif | ||