Commit 042ef7cc authored by Nathan Lynch's avatar Nathan Lynch Committed by Michael Ellerman

powerpc/numa: remove prrn_is_enabled()

All users of this prrn_is_enabled() are gone; remove it.
Signed-off-by: default avatarNathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: default avatarSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200612051238.1007764-14-nathanl@linux.ibm.com
parent 91713ac3
...@@ -93,13 +93,8 @@ static inline int cpu_distance(__be32 *cpu1_assoc, __be32 *cpu2_assoc) ...@@ -93,13 +93,8 @@ static inline int cpu_distance(__be32 *cpu1_assoc, __be32 *cpu2_assoc)
#endif /* CONFIG_NUMA */ #endif /* CONFIG_NUMA */
#if defined(CONFIG_NUMA) && defined(CONFIG_PPC_SPLPAR) #if defined(CONFIG_NUMA) && defined(CONFIG_PPC_SPLPAR)
extern int prrn_is_enabled(void);
extern int find_and_online_cpu_nid(int cpu); extern int find_and_online_cpu_nid(int cpu);
#else #else
static inline int prrn_is_enabled(void)
{
return 0;
}
static inline int find_and_online_cpu_nid(int cpu) static inline int find_and_online_cpu_nid(int cpu)
{ {
return 0; return 0;
......
...@@ -1210,11 +1210,6 @@ int arch_update_cpu_topology(void) ...@@ -1210,11 +1210,6 @@ int arch_update_cpu_topology(void)
return numa_update_cpu_topology(true); return numa_update_cpu_topology(true);
} }
int prrn_is_enabled(void)
{
return 0;
}
static int topology_update_init(void) static int topology_update_init(void)
{ {
topology_inited = 1; topology_inited = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment