diff options
author | Nathan Lynch <nathanl@linux.ibm.com> | 2020-06-12 00:12:33 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-16 13:12:39 +1000 |
commit | 042ef7cc43f4571d8cbe44a7c735ab6622809142 (patch) | |
tree | 050d7586bd34e4a073b186905cd42b30c2ec05c0 /arch/powerpc/include/asm/topology.h | |
parent | 91713ac377859893a7798999cb2e3a388d8ae710 (diff) | |
download | lwn-042ef7cc43f4571d8cbe44a7c735ab6622809142.tar.gz lwn-042ef7cc43f4571d8cbe44a7c735ab6622809142.zip |
powerpc/numa: remove prrn_is_enabled()
All users of this prrn_is_enabled() are gone; remove it.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200612051238.1007764-14-nathanl@linux.ibm.com
Diffstat (limited to 'arch/powerpc/include/asm/topology.h')
-rw-r--r-- | arch/powerpc/include/asm/topology.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h index 537c638582eb..658aad65912b 100644 --- a/arch/powerpc/include/asm/topology.h +++ b/arch/powerpc/include/asm/topology.h @@ -93,13 +93,8 @@ static inline int cpu_distance(__be32 *cpu1_assoc, __be32 *cpu2_assoc) #endif /* CONFIG_NUMA */ #if defined(CONFIG_NUMA) && defined(CONFIG_PPC_SPLPAR) -extern int prrn_is_enabled(void); extern int find_and_online_cpu_nid(int cpu); #else -static inline int prrn_is_enabled(void) -{ - return 0; -} static inline int find_and_online_cpu_nid(int cpu) { return 0; |