Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40932
b: refs/heads/master
c: 056f4fa
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Nov 15, 2006
1 parent 905b821 commit a37fc34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: 45c99533252ef2297f37c5fdd672a3e0eb566870
refs/heads/master: 056f4faa572f64fa926491a7d42c627c9dc507a7
8 changes: 7 additions & 1 deletion trunk/include/asm-powerpc/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ static inline void sysfs_remove_device_from_node(struct sys_device *dev,

#ifdef CONFIG_SMP
#include <asm/cputable.h>
#define smt_capable() (cpu_has_feature(CPU_FTR_SMT))
#define smt_capable() (cpu_has_feature(CPU_FTR_SMT))

#ifdef CONFIG_PPC64
#include <asm/smp.h>

#define topology_thread_siblings(cpu) (cpu_sibling_map[cpu])
#endif
#endif

#endif /* __KERNEL__ */
Expand Down

0 comments on commit a37fc34

Please sign in to comment.