ARM: 7327/1: need to include asm/system.h in asm/processor.h
authorOlof Johansson <olof@lixom.net>
Wed, 15 Feb 2012 20:17:12 +0000 (21:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 15 Feb 2012 21:10:49 +0000 (21:10 +0000)
commitfee6a3c33a8f137f39cd9997b0476411f73576c7
tree45a45c311f2e15629d8b61838b5ad1cd8851d935
parent46e33c606af8e0caeeca374103189663d877c0d6
ARM: 7327/1: need to include asm/system.h in asm/processor.h

For files that include asm/processor.h but not asm/system.h:

arch/arm/mach-msm/include/mach/uncompress.h: In function 'putc':
arch/arm/mach-msm/include/mach/uncompress.h:48:3: error: implicit declaration of function 'smp_mb' [-Werror=implicit-function-declaration]

In this case, smp_mb() is from the cpu_relax() call in the msm putc().

It likely went uncaught when the uncompress.h change went in since the
defconfig didn't enable that code path, but later changes (e76f4750f4:
ARM: debug: arrange Kconfig options more logically) resulted in the
option being on for msm_defconfig and thus exposed it.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/processor.h