aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/sys_parisc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/parisc/kernel/sys_parisc.c b/arch/parisc/kernel/sys_parisc.c
index 512642d8f707..6fed0803c593 100644
--- a/arch/parisc/kernel/sys_parisc.c
+++ b/arch/parisc/kernel/sys_parisc.c
@@ -106,6 +106,11 @@ unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr,
106{ 106{
107 if (len > TASK_SIZE) 107 if (len > TASK_SIZE)
108 return -ENOMEM; 108 return -ENOMEM;
109 /* Might want to check for cache aliasing issues for MAP_FIXED case
110 * like ARM or MIPS ??? --BenH.
111 */
112 if (flags & MAP_FIXED)
113 return addr;
109 if (!addr) 114 if (!addr)
110 addr = TASK_UNMAPPED_BASE; 115 addr = TASK_UNMAPPED_BASE;
111 116