X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fmemory.h;h=8f04143ca36357e3330ae2cc23c9c9595f890c8e;hb=4e8f10b7ccf1c3c53a818a157962074a7340732e;hp=9a424383e6c60064fdb76ae8b0c7895351da69a0;hpb=407cf84f956ee4b52da5508d5357b8ae212ff77c;p=linux-2.6 diff --git a/include/linux/memory.h b/include/linux/memory.h index 9a424383e6..8f04143ca3 100644 --- a/include/linux/memory.h +++ b/include/linux/memory.h @@ -70,22 +70,14 @@ static inline void unregister_memory_notifier(struct notifier_block *nb) { } #else -extern int register_memory(struct memory_block *, struct mem_section *section, struct node *); extern int register_new_memory(struct mem_section *); extern int unregister_memory_section(struct mem_section *); extern int memory_dev_init(void); -extern int register_memory_notifier(struct notifier_block *nb); -extern void unregister_memory_notifier(struct notifier_block *nb); +extern int remove_memory_block(unsigned long, struct mem_section *, int); #define CONFIG_MEM_BLOCK_SIZE (PAGES_PER_SECTION<