]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
avr32: remove cpu_data macro to fix compiles
authorWolfram Sang <wsa@the-dreams.de>
Sat, 22 Feb 2014 08:28:27 +0000 (09:28 +0100)
committerHans-Christian Egtvedt <egtvedt@samfundet.no>
Mon, 31 Mar 2014 06:41:36 +0000 (08:41 +0200)
commit8acc8722d3b5755abbfbe73f732dec576f28757a
treee491dd49075931b7f8fc294004115eca8e12ed14
parent455c6fdbd219161bd09b1165f11699d6d73de11c
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
arch/avr32/include/asm/bugs.h
arch/avr32/include/asm/processor.h