summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-04 21:26:50 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-04 21:26:50 -0800
commit05e7304908ec281ce4ef29d1db58ec8d6fd73563 (patch)
tree9c3f563dfaa945e7de100631fcf2369a94e7f228 /include/linux/kernel.h
parentb30e09ec6aef1b9ed548da2abe7a451151479440 (diff)
parenta8e82cc7a9c42443207702560332b5dec3211525 (diff)
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 806491a0ab59..de56b8b26cd5 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -278,6 +278,12 @@ struct sysinfo {
extern void BUILD_BUG(void);
#define BUILD_BUG_ON(condition) do { if (condition) BUILD_BUG(); } while(0)
+#ifdef CONFIG_SYSCTL
+extern int randomize_va_space;
+#else
+#define randomize_va_space 1
+#endif
+
/* Trap pasters of __FUNCTION__ at compile-time */
#if __GNUC__ > 2 || __GNUC_MINOR__ >= 95
#define __FUNCTION__ (__func__)