diff options
| author | Anton Altaparmakov <aia21@cantab.net> | 2006-01-19 11:39:33 -0500 |
|---|---|---|
| committer | Anton Altaparmakov <aia21@cantab.net> | 2006-01-19 11:39:33 -0500 |
| commit | 944d79559d154c12becde0dab327016cf438f46c (patch) | |
| tree | 50c101806f4d3b6585222dda060559eb4f3e005a /include/linux/memory.h | |
| parent | d087e4bdd24ebe3ae3d0b265b6573ec901af4b4b (diff) | |
| parent | 0f36b018b2e314d45af86449f1a97facb1fbe300 (diff) | |
Merge branch 'master' of /usr/src/ntfs-2.6/
Diffstat (limited to 'include/linux/memory.h')
| -rw-r--r-- | include/linux/memory.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/memory.h b/include/linux/memory.h index dc4081b6f161..e251dc43d0f5 100644 --- a/include/linux/memory.h +++ b/include/linux/memory.h | |||
| @@ -70,21 +70,15 @@ static inline void unregister_memory_notifier(struct notifier_block *nb) | |||
| 70 | { | 70 | { |
| 71 | } | 71 | } |
| 72 | #else | 72 | #else |
| 73 | extern int register_memory(struct memory_block *, struct mem_section *section, struct node *); | ||
| 74 | extern int register_new_memory(struct mem_section *); | 73 | extern int register_new_memory(struct mem_section *); |
| 75 | extern int unregister_memory_section(struct mem_section *); | 74 | extern int unregister_memory_section(struct mem_section *); |
| 76 | extern int memory_dev_init(void); | 75 | extern int memory_dev_init(void); |
| 77 | extern int register_memory_notifier(struct notifier_block *nb); | 76 | extern int remove_memory_block(unsigned long, struct mem_section *, int); |
| 78 | extern void unregister_memory_notifier(struct notifier_block *nb); | ||
| 79 | 77 | ||
| 80 | #define CONFIG_MEM_BLOCK_SIZE (PAGES_PER_SECTION<<PAGE_SHIFT) | 78 | #define CONFIG_MEM_BLOCK_SIZE (PAGES_PER_SECTION<<PAGE_SHIFT) |
| 81 | 79 | ||
| 82 | extern int invalidate_phys_mapping(unsigned long, unsigned long); | ||
| 83 | struct notifier_block; | 80 | struct notifier_block; |
| 84 | 81 | ||
| 85 | extern int register_memory_notifier(struct notifier_block *nb); | ||
| 86 | extern void unregister_memory_notifier(struct notifier_block *nb); | ||
| 87 | |||
| 88 | #endif /* CONFIG_MEMORY_HOTPLUG */ | 82 | #endif /* CONFIG_MEMORY_HOTPLUG */ |
| 89 | 83 | ||
| 90 | #define hotplug_memory_notifier(fn, pri) { \ | 84 | #define hotplug_memory_notifier(fn, pri) { \ |
