Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 229367
b: refs/heads/master
c: 5d7d807
h: refs/heads/master
i:
  229365: 2118adb
  229363: b98380b
  229359: ab07fbc
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Jan 11, 2011
1 parent 4710ae7 commit a1a8a5f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39bf990ead35c7263652ca5dd8262b2b2cd147ac
refs/heads/master: 5d7d8072edc11080a7cf6cc37c9f4e61ca1e93c9
27 changes: 14 additions & 13 deletions trunk/arch/powerpc/include/asm/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,6 @@ extern void __init dump_numa_cpu_topology(void);
extern int sysfs_add_device_to_node(struct sys_device *dev, int nid);
extern void sysfs_remove_device_from_node(struct sys_device *dev, int nid);

#ifdef CONFIG_PPC_SPLPAR
extern int start_topology_update(void);
extern int stop_topology_update(void);
#else
static inline int start_topology_update(void)
{
return 0;
}
static inline int stop_topology_update(void)
{
return 0;
}
#endif /* CONFIG_PPC_SPLPAR */
#else

static inline void dump_numa_cpu_topology(void) {}
Expand All @@ -121,6 +108,20 @@ static inline void sysfs_remove_device_from_node(struct sys_device *dev,
}
#endif /* CONFIG_NUMA */

#if defined(CONFIG_NUMA) && defined(CONFIG_PPC_SPLPAR)
extern int start_topology_update(void);
extern int stop_topology_update(void);
#else
static inline int start_topology_update(void)
{
return 0;
}
static inline int stop_topology_update(void)
{
return 0;
}
#endif /* CONFIG_NUMA && CONFIG_PPC_SPLPAR */

#include <asm-generic/topology.h>

#ifdef CONFIG_SMP
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/mm/numa.c
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,6 @@ static u8 vphn_cpu_change_counts[NR_CPUS][VPHN_NR_CHANGE_CTRS];
static cpumask_t cpu_associativity_changes_mask;
static int vphn_enabled;
static void set_topology_timer(void);
int stop_topology_update(void);

/*
* Store the current values of the associativity change counters in the
Expand Down

0 comments on commit a1a8a5f

Please sign in to comment.