diff options
author | Olaf Hering <olh@suse.de> | 2006-01-08 01:00:32 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 20:12:39 -0800 |
commit | b792de39d892e06b18ddea85be076bae123d6bf6 (patch) | |
tree | 6604e19464fa0cce997bdb600074756ab1266fa8 /mm | |
parent | 4dab06fa7b6d07ee95c8bba5ddd0840633069159 (diff) | |
download | talos-op-linux-b792de39d892e06b18ddea85be076bae123d6bf6.tar.gz talos-op-linux-b792de39d892e06b18ddea85be076bae123d6bf6.zip |
[PATCH] Fix compilation with CONFIG_MEMORY_HOTPLUG=y and gcc41.
Fix compilation with CONFIG_MEMORY_HOTPLUG=y and gcc41.
Also remove unneeded declations, add a public function.
drivers/base/memory.c:53: error: static declaration of 'register_memory_notifier' follows non-static declaration
include/linux/memory.h:85: error: previous declaration of 'register_memory_notifier' was here
drivers/base/memory.c:58: error: static declaration of 'unregister_memory_notifier' follows non-static declaration
include/linux/memory.h:86: error: previous declaration of 'unregister_memory_notifier' was here
drivers/base/memory.c:68: error: static declaration of 'register_memory' follows non-static declaration
include/linux/memory.h:73: error: previous declaration of 'register_memory' was here
Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions