arm64: Fix compilation error on UP builds
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 21 Oct 2014 16:01:07 +0000 (17:01 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 21 Oct 2014 16:01:07 +0000 (17:01 +0100)
commitceab3fe69408cb98f437dad3b4b4bb79434370ef
treec80d33d4b39e661c354e52b8fda8d5d84a596d7a
parenta24637d5ddc215838776e755970bb199df00a1a5
arm64: Fix compilation error on UP builds

In file included from ./arch/arm64/include/asm/irq_work.h:4:0,
        from include/linux/irq_work.h:46,
        from include/linux/perf_event.h:49,
        from include/linux/ftrace_event.h:9,
        from include/trace/syscall.h:6,
        from include/linux/syscalls.h:81,
        from init/main.c:18:
./arch/arm64/include/asm/smp.h:24:3:
        error: #error "<asm/smp.h> included in non-SMP build"
 # error "<asm/smp.h> included in non-SMP build"

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Fixes: 3631073659d0 ("arm64: Tell irq work about self IPI support")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
arch/arm64/include/asm/irq_work.h