[PATCH 02/15] ARM: add explicit include of system.h to processor.h
H Hartley Sweeten
hartleys at visionengravers.com
Mon Feb 13 17:14:06 EST 2012
On Monday, February 13, 2012 2:43 PM, Rob Herring wrote:
>
> cpu_relax in processor.h needs smp_mb which is defined in system.h.
>
> Signed-off-by: Rob Herring <rob.herring at calxeda.com>
> ---
> arch/arm/include/asm/processor.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h
> index ce280b8..cb8d638 100644
> --- a/arch/arm/include/asm/processor.h
> +++ b/arch/arm/include/asm/processor.h
> @@ -22,6 +22,7 @@
> #include <asm/hw_breakpoint.h>
> #include <asm/ptrace.h>
> #include <asm/types.h>
> +#include <asm/system.h>
>
> #ifdef __KERNEL__
> #define STACK_TOP ((current->personality & ADDR_LIMIT_32BIT) ? \
On EP93xx
Tested-by: H Hartley Sweeten <hsweeten at visionengravers.com>
More information about the linux-arm-kernel
mailing list