X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=mm%2Fmemory.c;h=9abc6008544baae37d9d88a4416a4ec81e966132;hb=286fc8f8ea7ef58b54f150fc900ce019af483e89;hp=2bee1f21aa8aa92294ef481778b3c370063413fb;hpb=b4103333d7904310d34de18d85e51e3d74f00a3b;p=powerpc.git diff --git a/mm/memory.c b/mm/memory.c index 2bee1f21aa..9abc600854 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -82,6 +82,16 @@ EXPORT_SYMBOL(num_physpages); EXPORT_SYMBOL(high_memory); EXPORT_SYMBOL(vmalloc_earlyreserve); +int randomize_va_space __read_mostly = 1; + +static int __init disable_randmaps(char *s) +{ + randomize_va_space = 0; + return 0; +} +__setup("norandmaps", disable_randmaps); + + /* * If a p?d_bad entry is found while walking page tables, report * the error, before resetting entry to p?d_none. Usually (but