Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f393e99d9e9540d9c5b3ebc42dfb0ff9a77827fe
Commit:     f393e99d9e9540d9c5b3ebc42dfb0ff9a77827fe
Parent:     48da78bc93b087eadd8fa840ba661b9442846dee
Author:     Dan Williams <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 20 02:07:36 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Fri Jul 20 21:29:18 2007 +0100

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Dan Williams <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 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 d7a777f..ec1c685 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 <asm/hwcap.h>
+
 #ifndef __ASSEMBLY__
 /*
  * ELF register definitions..
  */
 #include <asm/ptrace.h>
 #include <asm/user.h>
-#include <asm/hwcap.h>
 
 typedef unsigned long elf_greg_t;
 typedef unsigned long elf_freg_t[3];
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to