From: Dan Williams Date: Fri, 20 Jul 2007 01:07:36 +0000 (+0100) Subject: [ARM] 4496/1: elf_hwcap: fix up #include misplacement X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f393e99d9e9540d9c5b3ebc42dfb0ff9a77827fe;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [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 --- diff --git a/include/asm-arm/elf.h b/include/asm-arm/elf.h index d7a777f05088..ec1c685562ce 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];