diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-12-25 02:19:56 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-02-13 02:54:45 +0100 |
commit | 11c1965687b0a472add948d4240dfe65a2fcb298 (patch) | |
tree | 69a71a34591bbdc6339dbe72de36819479f96198 /include/asm-sh/ubc.h | |
parent | sh: Use a per-cpu ASID cache. (diff) | |
download | linux-11c1965687b0a472add948d4240dfe65a2fcb298.tar.xz linux-11c1965687b0a472add948d4240dfe65a2fcb298.zip |
sh: Fixup cpu_data references for the non-boot CPUs.
There are a lot of bogus cpu_data-> references that only end up working
for the boot CPU, convert these to current_cpu_data to fixup SMP.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/ubc.h')
-rw-r--r-- | include/asm-sh/ubc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/ubc.h b/include/asm-sh/ubc.h index 694f51f47941..ae9bbdeefbe1 100644 --- a/include/asm-sh/ubc.h +++ b/include/asm-sh/ubc.h @@ -17,7 +17,7 @@ /* User Break Controller */ #if defined(CONFIG_CPU_SUBTYPE_SH7707) || defined(CONFIG_CPU_SUBTYPE_SH7709) || \ defined(CONFIG_CPU_SUBTYPE_SH7300) -#define UBC_TYPE_SH7729 (cpu_data->type == CPU_SH7729) +#define UBC_TYPE_SH7729 (current_cpu_data.type == CPU_SH7729) #else #define UBC_TYPE_SH7729 0 #endif |