]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/memory.h
Merge branches 'tracing/doc', 'tracing/ftrace', 'tracing/printk' and 'linus' into...
[linux-2.6-omap-h63xx.git] / include / linux / memory.h
index 3fdc10806d31b9f55470dc3fc3949653ceb1498d..86a6c0f0518db5654bf8a17af4baa9a17462501b 100644 (file)
@@ -99,4 +99,10 @@ enum mem_add_context { BOOT, HOTPLUG };
 #define hotplug_memory_notifier(fn, pri) do { } while (0)
 #endif
 
+/*
+ * Kernel text modification mutex, used for code patching. Users of this lock
+ * can sleep.
+ */
+extern struct mutex text_mutex;
+
 #endif /* _LINUX_MEMORY_H_ */