diff options
author | Wolfram Sang | 2014-02-22 09:28:27 +0100 |
---|---|---|
committer | Hans-Christian Egtvedt | 2014-03-31 08:41:36 +0200 |
commit | 8acc8722d3b5755abbfbe73f732dec576f28757a (patch) | |
tree | e491dd49075931b7f8fc294004115eca8e12ed14 /arch/avr32/include/asm/bugs.h | |
parent | Linux 3.14 (diff) | |
download | kernel-qcow2-linux-8acc8722d3b5755abbfbe73f732dec576f28757a.tar.gz kernel-qcow2-linux-8acc8722d3b5755abbfbe73f732dec576f28757a.tar.xz kernel-qcow2-linux-8acc8722d3b5755abbfbe73f732dec576f28757a.zip |
avr32: remove cpu_data macro to fix compiles
Having cpu_data as a parameterless macro can easily cause build failures
because it can be a variable name like in linux/pm_domain.h [1]. So,
remove the macro and convert its only user. Because this architecture
cannot do SMP, remove the whole SMP block, too. Only compile tested due
to no hardware.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
[1] https://lists.01.org/pipermail/kbuild-all/2014-February/003252.html
Diffstat (limited to 'arch/avr32/include/asm/bugs.h')
-rw-r--r-- | arch/avr32/include/asm/bugs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/include/asm/bugs.h b/arch/avr32/include/asm/bugs.h index 7635e770622e..278661bbd1b0 100644 --- a/arch/avr32/include/asm/bugs.h +++ b/arch/avr32/include/asm/bugs.h @@ -9,7 +9,7 @@ static void __init check_bugs(void) { - cpu_data->loops_per_jiffy = loops_per_jiffy; + boot_cpu_data.loops_per_jiffy = loops_per_jiffy; } #endif /* __ASM_AVR32_BUGS_H */ |