diff options
author | Dan Williams <dan.j.williams@intel.com> | 2007-07-19 21:07:36 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-07-20 16:29:18 -0400 |
commit | f393e99d9e9540d9c5b3ebc42dfb0ff9a77827fe (patch) | |
tree | e946d8803a20e702c0c5064d22415afae3c5a86c | |
parent | 48da78bc93b087eadd8fa840ba661b9442846dee (diff) |
[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 <catalin.marinas@arm.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | include/asm-arm/elf.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
1 | #ifndef __ASMARM_ELF_H | 1 | #ifndef __ASMARM_ELF_H |
2 | #define __ASMARM_ELF_H | 2 | #define __ASMARM_ELF_H |
3 | 3 | ||
4 | #include <asm/hwcap.h> | ||
5 | |||
4 | #ifndef __ASSEMBLY__ | 6 | #ifndef __ASSEMBLY__ |
5 | /* | 7 | /* |
6 | * ELF register definitions.. | 8 | * ELF register definitions.. |
7 | */ | 9 | */ |
8 | #include <asm/ptrace.h> | 10 | #include <asm/ptrace.h> |
9 | #include <asm/user.h> | 11 | #include <asm/user.h> |
10 | #include <asm/hwcap.h> | ||
11 | 12 | ||
12 | typedef unsigned long elf_greg_t; | 13 | typedef unsigned long elf_greg_t; |
13 | typedef unsigned long elf_freg_t[3]; | 14 | typedef unsigned long elf_freg_t[3]; |