mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
3a368f742d
Enable core NUMA support for s390 and add one simple default mode "plain" that creates one single NUMA node. This patch contains several changes from Michael Holzheu. Signed-off-by: Philipp Hachtmann <phacht@linux.vnet.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
16 lines
277 B
C
16 lines
277 B
C
/*
|
|
* NUMA support for s390
|
|
*
|
|
* Copyright IBM Corp. 2015
|
|
*/
|
|
|
|
#ifndef _ASM_S390_MMZONE_H
|
|
#define _ASM_S390_MMZONE_H
|
|
|
|
#ifdef CONFIG_NUMA
|
|
|
|
extern struct pglist_data *node_data[];
|
|
#define NODE_DATA(nid) (node_data[nid])
|
|
|
|
#endif /* CONFIG_NUMA */
|
|
#endif /* _ASM_S390_MMZONE_H */
|