forked from Minki/linux
ipc: define the slab_memory_callback priority as a constant
This is a trivial patch that defines the priority of slab_memory_callback in the callback chain as a constant. This is to prepare for next patch in the series. Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net> Cc: Yasunori Goto <y-goto@jp.fujitsu.com> Cc: Matt Helsley <matthltc@us.ibm.com> Cc: Mingming Cao <cmm@us.ibm.com> Cc: Pierre Peiffer <pierre.peiffer@bull.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
4d89dc6ab2
commit
0c40ba4fd6
@ -53,6 +53,12 @@ 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
|
||||
|
||||
#ifndef CONFIG_MEMORY_HOTPLUG_SPARSE
|
||||
static inline int memory_dev_init(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user