summaryrefslogtreecommitdiff
path: root/include/asm-arm26
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2005-03-04 17:25:13 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-04 17:25:13 -0800
commitccc875c1d2fe18b50020d501f1005ef46fc55fed (patch)
treec537ca25c29dc7eff4eb9d96d4aab41041fffb37 /include/asm-arm26
parentc518b108234a2418fb65a09e6219202eda316d6c (diff)
[PATCH] Randomisation: stack randomisation
The patch below replaces the existing 8Kb randomisation of the userspace stack pointer (which is currently only done for Hyperthreaded P-IVs) with a more general randomisation over a 64Kb range. 64Kb is not a lot, but it's a start and once the dust settles we can increase this value to a more agressive value. Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-arm26')
-rw-r--r--include/asm-arm26/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm26/system.h b/include/asm-arm26/system.h
index 6361b6c71f8c..f23fac1938f3 100644
--- a/include/asm-arm26/system.h
+++ b/include/asm-arm26/system.h
@@ -245,6 +245,8 @@ static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size
#endif /* __ASSEMBLY__ */
+#define arch_align_stack(x) (x)
+
#endif /* __KERNEL__ */
#endif