diff options
Diffstat (limited to 'include/linux/memory.h')
| -rw-r--r-- | include/linux/memory.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/memory.h b/include/linux/memory.h index f80e0e331cb7..2f5f8a5ef2a0 100644 --- a/include/linux/memory.h +++ b/include/linux/memory.h | |||
| @@ -53,6 +53,13 @@ struct memory_notify { | |||
| 53 | struct notifier_block; | 53 | struct notifier_block; |
| 54 | struct mem_section; | 54 | struct mem_section; |
| 55 | 55 | ||
| 56 | /* | ||
| 57 | * Priorities for the hotplug memory callback routines (stored in decreasing | ||
| 58 | * order in the callback chain) | ||
| 59 | */ | ||
| 60 | #define SLAB_CALLBACK_PRI 1 | ||
| 61 | #define IPC_CALLBACK_PRI 10 | ||
| 62 | |||
| 56 | #ifndef CONFIG_MEMORY_HOTPLUG_SPARSE | 63 | #ifndef CONFIG_MEMORY_HOTPLUG_SPARSE |
| 57 | static inline int memory_dev_init(void) | 64 | static inline int memory_dev_init(void) |
| 58 | { | 65 | { |
