diff options
| author | Richard Henderson <rth@are.twiddle.net> | 2002-12-07 12:04:29 -0800 |
|---|---|---|
| committer | Richard Henderson <rth@dorothy.sfbay.redhat.com> | 2002-12-07 12:04:29 -0800 |
| commit | 51a169c1962ba2343936f3ff8326fb21eef56a08 (patch) | |
| tree | c55c93795bc19aa5e6ac7d310392168f8997490e /include | |
| parent | b04b564b8803e9ec7649468c2b31f8ea1159bbb5 (diff) | |
[TRIVIAL] Use asm-generic/topology.h.
From colpatch@us.ibm.com
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-alpha/topology.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/include/asm-alpha/topology.h b/include/asm-alpha/topology.h index f3c6cd7ae491..e80327049f70 100644 --- a/include/asm-alpha/topology.h +++ b/include/asm-alpha/topology.h @@ -1,20 +1,15 @@ #ifndef _ASM_ALPHA_TOPOLOGY_H #define _ASM_ALPHA_TOPOLOGY_H -#ifdef CONFIG_NUMA -#ifdef CONFIG_ALPHA_WILDFIRE +#if defined(CONFIG_NUMA) && defined(CONFIG_ALPHA_WILDFIRE) + /* With wildfire assume 4 CPUs per node */ #define __cpu_to_node(cpu) ((cpu) >> 2) -#endif /* CONFIG_ALPHA_WILDFIRE */ -#endif /* CONFIG_NUMA */ -#if !defined(CONFIG_NUMA) || !defined(CONFIG_ALPHA_WILDFIRE) -#define __cpu_to_node(cpu) (0) -#define __memblk_to_node(memblk) (0) -#define __parent_node(nid) (0) -#define __node_to_first_cpu(node) (0) -#define __node_to_cpu_mask(node) (cpu_online_map) -#define __node_to_memblk(node) (0) -#endif /* !CONFIG_NUMA || !CONFIG_ALPHA_WILDFIRE */ +#else /* !CONFIG_NUMA || !CONFIG_ALPHA_WILDFIRE */ + +#include <asm-generic/topology.h> + +#endif /* CONFIG_NUMA && CONFIG_ALPHA_WILDFIRE */ #endif /* _ASM_ALPHA_TOPOLOGY_H */ |
