diff options
-rw-r--r-- | arch/alpha/kernel/osf_sys.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index be133f1f75a4..67ae41dcb6fa 100644 --- a/arch/alpha/kernel/osf_sys.c +++ b/arch/alpha/kernel/osf_sys.c | |||
@@ -1267,6 +1267,9 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr, | |||
1267 | if (len > limit) | 1267 | if (len > limit) |
1268 | return -ENOMEM; | 1268 | return -ENOMEM; |
1269 | 1269 | ||
1270 | if (flags & MAP_FIXED) | ||
1271 | return addr; | ||
1272 | |||
1270 | /* First, see if the given suggestion fits. | 1273 | /* First, see if the given suggestion fits. |
1271 | 1274 | ||
1272 | The OSF/1 loader (/sbin/loader) relies on us returning an | 1275 | The OSF/1 loader (/sbin/loader) relies on us returning an |