Skip to content

Commit

Permalink
[ARM] 3815/1: headers_install support for ARM
Browse files Browse the repository at this point in the history
Move kernel-only #includes into #ifdef __KERNEL__, so that
headers_install target can be used on ARM.

Signed-off-by: Ralph Siemsen <ralphs@netwinder.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Ralph Siemsen authored and Russell King committed Sep 18, 2006
1 parent a9c3685 commit e40b107
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions include/asm-arm/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

#include <asm/ptrace.h>
#include <asm/user.h>
#ifdef __KERNEL
#include <asm/procinfo.h>
#endif

typedef unsigned long elf_greg_t;
typedef unsigned long elf_freg_t[3];
Expand Down
4 changes: 2 additions & 2 deletions include/asm-arm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ extern pmd_t *top_pmd;
#define ARCH_SLAB_MINALIGN 8
#endif

#endif /* __KERNEL__ */

#include <asm-generic/page.h>

#endif /* __KERNEL__ */

#endif

0 comments on commit e40b107

Please sign in to comment.