Switch away from the own cpu topology code to common code which is used by ARM64 and RISCV. That will allow us to enable CPU hotplug later on. Signed-off-by: Helge Deller <deller@gmx.de>
20 lines
402 B
C
20 lines
402 B
C
#ifndef _ASM_PARISC_TOPOLOGY_H
|
|
#define _ASM_PARISC_TOPOLOGY_H
|
|
|
|
#ifdef CONFIG_GENERIC_ARCH_TOPOLOGY
|
|
|
|
#include <linux/cpumask.h>
|
|
#include <linux/arch_topology.h>
|
|
|
|
#else
|
|
|
|
static inline void init_cpu_topology(void) { }
|
|
static inline void store_cpu_topology(unsigned int cpuid) { }
|
|
static inline void reset_cpu_topology(void) { }
|
|
|
|
#endif
|
|
|
|
#include <asm-generic/topology.h>
|
|
|
|
#endif /* _ASM_ARM_TOPOLOGY_H */
|