X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fmemory.h;h=2f5f8a5ef2a08a5e796294275ee095cae2319fd5;hb=1b871826b3dfcdcd78140d17c00e452eec6c12a4;hp=f80e0e331cb7e0f923feed2c26bb2cc03bd28e22;hpb=8a3227268877b81096d7b7a841aaf51099ad2068;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/memory.h b/include/linux/memory.h index f80e0e331cb..2f5f8a5ef2a 100644 --- a/include/linux/memory.h +++ b/include/linux/memory.h @@ -53,6 +53,13 @@ struct memory_notify { struct notifier_block; struct mem_section; +/* + * Priorities for the hotplug memory callback routines (stored in decreasing + * order in the callback chain) + */ +#define SLAB_CALLBACK_PRI 1 +#define IPC_CALLBACK_PRI 10 + #ifndef CONFIG_MEMORY_HOTPLUG_SPARSE static inline int memory_dev_init(void) {