smp.c (7fbb8759eff9a348efa5f352ffaa51c364837c4b) smp.c (98a79d6a50181ca1ecf7400eda01d5dc1bc0dbf0)
1/*
2 * SMP support for ppc.
3 *
4 * Written by Cort Dougan (cort@cs.nmt.edu) borrowing a great
5 * deal of code from the sparc and intel versions.
6 *
7 * Copyright (C) 1999 Cort Dougan <cort@cs.nmt.edu>
8 *

--- 46 unchanged lines hidden (view full) ---

55#define DBG(fmt...) udbg_printf(fmt)
56#else
57#define DBG(fmt...)
58#endif
59
60int smp_hw_index[NR_CPUS];
61struct thread_info *secondary_ti;
62
1/*
2 * SMP support for ppc.
3 *
4 * Written by Cort Dougan (cort@cs.nmt.edu) borrowing a great
5 * deal of code from the sparc and intel versions.
6 *
7 * Copyright (C) 1999 Cort Dougan <cort@cs.nmt.edu>
8 *

--- 46 unchanged lines hidden (view full) ---

55#define DBG(fmt...) udbg_printf(fmt)
56#else
57#define DBG(fmt...)
58#endif
59
60int smp_hw_index[NR_CPUS];
61struct thread_info *secondary_ti;
62
63cpumask_t cpu_possible_map = CPU_MASK_NONE;
64cpumask_t cpu_online_map = CPU_MASK_NONE;
65DEFINE_PER_CPU(cpumask_t, cpu_sibling_map) = CPU_MASK_NONE;
66DEFINE_PER_CPU(cpumask_t, cpu_core_map) = CPU_MASK_NONE;
67
63DEFINE_PER_CPU(cpumask_t, cpu_sibling_map) = CPU_MASK_NONE;
64DEFINE_PER_CPU(cpumask_t, cpu_core_map) = CPU_MASK_NONE;
65
68EXPORT_SYMBOL(cpu_online_map);
69EXPORT_SYMBOL(cpu_possible_map);
70EXPORT_PER_CPU_SYMBOL(cpu_sibling_map);
71EXPORT_PER_CPU_SYMBOL(cpu_core_map);
72
73/* SMP operations for this machine */
74struct smp_ops_t *smp_ops;
75
76static volatile unsigned int cpu_callin_map[NR_CPUS];
77

--- 487 unchanged lines hidden ---
66EXPORT_PER_CPU_SYMBOL(cpu_sibling_map);
67EXPORT_PER_CPU_SYMBOL(cpu_core_map);
68
69/* SMP operations for this machine */
70struct smp_ops_t *smp_ops;
71
72static volatile unsigned int cpu_callin_map[NR_CPUS];
73

--- 487 unchanged lines hidden ---