diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memory.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mm/memory.c b/mm/memory.c index 05fab3bc5b4b..dfc9e4ea4e8b 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -101,14 +101,6 @@ int randomize_va_space __read_mostly = | |||
101 | 2; | 101 | 2; |
102 | #endif | 102 | #endif |
103 | 103 | ||
104 | /* | ||
105 | * mutex protecting text section modification (dynamic code patching). | ||
106 | * some users need to sleep (allocating memory...) while they hold this lock. | ||
107 | * | ||
108 | * NOT exported to modules - patching kernel text is a really delicate matter. | ||
109 | */ | ||
110 | DEFINE_MUTEX(text_mutex); | ||
111 | |||
112 | static int __init disable_randmaps(char *s) | 104 | static int __init disable_randmaps(char *s) |
113 | { | 105 | { |
114 | randomize_va_space = 0; | 106 | randomize_va_space = 0; |