aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/include/asm/processor.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-04-01 09:49:16 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-01 09:49:16 -0700
commitf27a15d24670d143f2271a199202d72b6c4fe107 (patch)
treecf40deb3dd5d2167e0377bedfa74bdc10fc85218 /arch/avr32/include/asm/processor.h
parentMerge branch 'for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata (diff)
parentavr32: replace simple_strtoul() with kstrtoul() (diff)
downloadlinux-dev-f27a15d24670d143f2271a199202d72b6c4fe107.tar.xz
linux-dev-f27a15d24670d143f2271a199202d72b6c4fe107.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32
Pull AVR32 updates from Hans-Christian Egtvedt. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32: avr32: replace simple_strtoul() with kstrtoul() arch/avr32/mm/cache.c: export symbol flush_icache_range() for module using avr32: remove cpu_data macro to fix compiles
Diffstat (limited to 'arch/avr32/include/asm/processor.h')
-rw-r--r--arch/avr32/include/asm/processor.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/avr32/include/asm/processor.h b/arch/avr32/include/asm/processor.h
index 48d71c5c898a..972adcc1e8f4 100644
--- a/arch/avr32/include/asm/processor.h
+++ b/arch/avr32/include/asm/processor.h
@@ -83,13 +83,8 @@ static inline unsigned int avr32_get_chip_revision(struct avr32_cpuinfo *cpu)
extern struct avr32_cpuinfo boot_cpu_data;
-#ifdef CONFIG_SMP
-extern struct avr32_cpuinfo cpu_data[];
-#define current_cpu_data cpu_data[smp_processor_id()]
-#else
-#define cpu_data (&boot_cpu_data)
+/* No SMP support so far */
#define current_cpu_data boot_cpu_data
-#endif
/* This decides where the kernel will search for a free chunk of vm
* space during mmap's