extern int stop_topology_update(void);
extern int prrn_is_enabled(void);
extern int find_and_online_cpu_nid(int cpu);
-extern int timed_topology_update(int nsecs);
#else
static inline int start_topology_update(void)
{
{
return 0;
}
-static inline int timed_topology_update(int nsecs)
-{
- return 0;
-}
#endif /* CONFIG_NUMA && CONFIG_PPC_SPLPAR */
#ifdef CONFIG_PPC_SPLPAR
static int topology_inited;
-/*
- * Change polling interval for associativity changes.
- */
-int timed_topology_update(int nsecs)
-{
- return 0;
-}
-
/*
* Retrieve the new associativity information for a virtual processor's
* home node.
switch (rc) {
case H_SUCCESS:
dbg("VPHN hcall succeeded. Reset polling...\n");
- timed_topology_update(0);
goto out;
case H_FUNCTION:
break;
cpu_maps_update_done();
- timed_topology_update(1);
rc = device_offline(get_cpu_device(cpu));
if (rc)
goto out;
if (get_hard_smp_processor_id(cpu) != thread)
continue;
cpu_maps_update_done();
- timed_topology_update(1);
find_and_online_cpu_nid(cpu);
rc = device_online(get_cpu_device(cpu));
if (rc) {