summaryrefslogtreecommitdiffstats
path: root/include/linux/memory.h
diff options
context:
space:
mode:
authorTim Schmielau2005-11-07 09:59:43 +0100
committerLinus Torvalds2005-11-07 16:53:41 +0100
commit8c65b4a60450590e79a28e9717ceffa9e4debb3f (patch)
treee0e42b5faee0a1c44746a36d9df7a8fbb2a2c24c /include/linux/memory.h
parent[PATCH] memory leak in dentry_open() (diff)
downloadkernel-qcow2-linux-8c65b4a60450590e79a28e9717ceffa9e4debb3f.tar.gz
kernel-qcow2-linux-8c65b4a60450590e79a28e9717ceffa9e4debb3f.tar.xz
kernel-qcow2-linux-8c65b4a60450590e79a28e9717ceffa9e4debb3f.zip
[PATCH] fix remaining missing includes
Fix more include file problems that surfaced since I submitted the previous fix-missing-includes.patch. This should now allow not to include sched.h from module.h, which is done by a followup patch. Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/memory.h')
-rw-r--r--include/linux/memory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/memory.h b/include/linux/memory.h
index 0def328ab5cf..9a424383e6c6 100644
--- a/include/linux/memory.h
+++ b/include/linux/memory.h
@@ -54,6 +54,9 @@ struct memory_block {
*/
#define MEM_MAPPING_INVALID (1<<3)
+struct notifier_block;
+struct mem_section;
+
#ifndef CONFIG_MEMORY_HOTPLUG
static inline int memory_dev_init(void)
{