Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * NUMA support for s390 |
| 4 | * |
| 5 | * Declare the NUMA core code structures and functions. |
| 6 | * |
| 7 | * Copyright IBM Corp. 2015 |
| 8 | */ |
| 9 | |
| 10 | #ifndef _ASM_S390_NUMA_H |
| 11 | #define _ASM_S390_NUMA_H |
| 12 | |
| 13 | #ifdef CONFIG_NUMA |
| 14 | |
| 15 | #include <linux/numa.h> |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 16 | |
| 17 | void numa_setup(void); |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 18 | |
| 19 | #else |
| 20 | |
| 21 | static inline void numa_setup(void) { } |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 22 | |
| 23 | #endif /* CONFIG_NUMA */ |
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 24 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 25 | #endif /* _ASM_S390_NUMA_H */ |