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-Tag: firefly_0821_release~27204^2^6~12 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f393e99d9e9540d9c5b3ebc42dfb0ff9a77827fe;p=firefly-linux-kernel-4.4.55.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];