mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 21:52:04 +00:00
701dc81e74
It turned out that fake numa support is rather useless on s390, since there are no scenarios where there is any performance or other benefit when used. However it does provide maintenance cost and breaks from time to time. Therefore remove it. CONFIG_NUMA is still supported with a very small backend and only one node. This way userspace applications which require NUMA interfaces continue to work. Note that NODES_SHIFT is set to 1 (= 2 nodes) instead of 0 (= 1 node), since there is quite a bit of kernel code which assumes that more than one node is possible if CONFIG_NUMA is enabled. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
26 lines
386 B
C
26 lines
386 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* NUMA support for s390
|
|
*
|
|
* Declare the NUMA core code structures and functions.
|
|
*
|
|
* Copyright IBM Corp. 2015
|
|
*/
|
|
|
|
#ifndef _ASM_S390_NUMA_H
|
|
#define _ASM_S390_NUMA_H
|
|
|
|
#ifdef CONFIG_NUMA
|
|
|
|
#include <linux/numa.h>
|
|
|
|
void numa_setup(void);
|
|
|
|
#else
|
|
|
|
static inline void numa_setup(void) { }
|
|
|
|
#endif /* CONFIG_NUMA */
|
|
|
|
#endif /* _ASM_S390_NUMA_H */
|