From f393e99d9e9540d9c5b3ebc42dfb0ff9a77827fe Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 20 Jul 2007 02:07:36 +0100 Subject: [PATCH] [ARM] 4496/1: elf_hwcap: fix up #include misplacement While bisecting an iop13xx compile failure I noticed that include/asm-arm/hwcap.h should be included from include/asm-arm/elf.h outside #ifndef __ASSEMBLY__ since hwcap.h has its own __ASSEMBLY__ protections. Cc: Catalin Marinas Signed-off-by: Dan Williams Signed-off-by: Russell King --- include/asm-arm/elf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/asm-arm/elf.h b/include/asm-arm/elf.h index d7a777f050..ec1c685562 100644 --- a/include/asm-arm/elf.h +++ b/include/asm-arm/elf.h @@ -1,13 +1,14 @@ #ifndef __ASMARM_ELF_H #define __ASMARM_ELF_H +#include + #ifndef __ASSEMBLY__ /* * ELF register definitions.. */ #include #include -#include typedef unsigned long elf_greg_t; typedef unsigned long elf_freg_t[3]; -- 2.39.5