Commit fdf2c07b authored by David S. Miller's avatar David S. Miller

[SPARC64]: Make cpu_data present even on UP builds.

parent e66332ea
......@@ -12,6 +12,9 @@
#include <asm/asi.h>
#include <asm/system.h>
#include <asm/fpumacro.h>
#include <asm/cpudata.h>
DEFINE_PER_CPU(cpuinfo_sparc, __cpu_data) = { 0 };
struct cpu_iu_info {
short manuf;
......
......@@ -42,8 +42,6 @@
extern int linux_num_cpus;
extern void calibrate_delay(void);
DEFINE_PER_CPU(cpuinfo_sparc, __cpu_data) = { 0 };
/* Please don't make this stuff initdata!!! --DaveM */
static unsigned char boot_cpu_id;
......
......@@ -126,6 +126,9 @@ extern void xor_vis_4(unsigned long, unsigned long *, unsigned long *,
extern void xor_vis_5(unsigned long, unsigned long *, unsigned long *,
unsigned long *, unsigned long *, unsigned long *);
/* Per-CPU information table */
EXPORT_PER_CPU_SYMBOL(__cpu_data);
/* used by various drivers */
#ifdef CONFIG_SMP
#ifndef CONFIG_DEBUG_SPINLOCK
......@@ -144,9 +147,6 @@ extern void mcount(void);
EXPORT_SYMBOL_NOVERS(mcount);
#endif
/* Per-CPU information table */
EXPORT_PER_CPU_SYMBOL(__cpu_data);
/* CPU online map and active count. */
EXPORT_SYMBOL(cpu_online_map);
EXPORT_SYMBOL(phys_cpu_present_map);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment