Skip to contentSkip to conversation

alpha 2.4.13, fix get_unmapped_area for 32-bit processes

PATCH Richard Henderson 1 participant 1 message Oct 25, 2001 1 message not in the archive Alpha port

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

pre6-2.4.13/mm/mmap.c arch_get_unmapped_area

Quoted 4 lines · Jay Estabrook

diff -ur LINUX/pre6-2.4.13/mm/mmap.c PATCH/pre6-2.4.13/mm/mmap.c

pre6-2.4.13/mm/mmap.c +0 -0
@@ -600,8 +600,11 @@ arch_get_unmapped_area

This should fix the problem, as discussed previously.

r~

include/asm-alpha/pgtable.h +3 -0
diff -rup linux/include/asm-alpha/pgtable.h 2.4.13/include/asm-alpha/pgtable.h
@@ -363,4 +363,7 @@ extern void paging_init(void);
  */
 #define pgtable_cache_init()	do { } while (0)
 
+/* We have our own get_unmapped_area to cope with ADDR_LIMIT_32BIT.  */
+#define HAVE_ARCH_UNMAPPED_AREA
+
 #endif /* _ALPHA_PGTABLE_H */

Only in 2.4.13/include/asm-alpha: pgtable.h.orig

arch/alpha/kernel/osf_sys.c +59 -0

62 lines not on this page · raw message