diff options
author | Magnus Damm <magnus@valinux.co.jp> | 2006-12-06 23:37:53 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:38 -0500 |
commit | 386d9a7edd9f3492c99124b0a659e9ed7abb30f9 (patch) | |
tree | 6b7f05e1b023f12b113845c23af9a3ba263fef99 /arch/x86_64 | |
parent | 651971cb7242e8f6d7ebd153e69bd271cb731223 (diff) |
[PATCH] elf: Always define elf_addr_t in linux/elf.h
Define elf_addr_t in linux/elf.h. The size of the type is determined using
ELF_CLASS. This allows us to remove the defines that today are spread all
over .c and .h files.
Signed-off-by: Magnus Damm <magnus@valinux.co.jp>
Cc: Daniel Jacobowitz <drow@false.org>
Cc: Roland McGrath <roland@redhat.com>
Cc: Jakub Jelinek <jakub@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/ia32/ia32_binfmt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86_64/ia32/ia32_binfmt.c b/arch/x86_64/ia32/ia32_binfmt.c index 932a62ad6c83..543ef4f405e9 100644 --- a/arch/x86_64/ia32/ia32_binfmt.c +++ b/arch/x86_64/ia32/ia32_binfmt.c | |||
@@ -305,8 +305,6 @@ MODULE_AUTHOR("Eric Youngdale, Andi Kleen"); | |||
305 | #undef MODULE_DESCRIPTION | 305 | #undef MODULE_DESCRIPTION |
306 | #undef MODULE_AUTHOR | 306 | #undef MODULE_AUTHOR |
307 | 307 | ||
308 | #define elf_addr_t __u32 | ||
309 | |||
310 | static void elf32_init(struct pt_regs *); | 308 | static void elf32_init(struct pt_regs *); |
311 | 309 | ||
312 | #define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1 | 310 | #define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1 |