summaryrefslogtreecommitdiffstats
path: root/include/linux/memory_hotplug.h
diff options
context:
space:
mode:
authorLai Jiangshan2012-12-12 01:03:13 +0100
committerLinus Torvalds2012-12-12 02:22:28 +0100
commitfcf07d22f089856631b52a75c35ba3c33b70a1b4 (patch)
treef826fde071ac174764e12e95d903e2e0bd98734f /include/linux/memory_hotplug.h
parentbootmem: fix wrong call parameter for free_bootmem() (diff)
downloadkernel-qcow2-linux-fcf07d22f089856631b52a75c35ba3c33b70a1b4.tar.gz
kernel-qcow2-linux-fcf07d22f089856631b52a75c35ba3c33b70a1b4.tar.xz
kernel-qcow2-linux-fcf07d22f089856631b52a75c35ba3c33b70a1b4.zip
drivers/base/node.c: cleanup node_state_attr[]
use [index] = init_value use N_xxxxx instead of hardcode. Make it more readability and easier to add new state. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions