diff options
author | Magnus Damm <magnus@valinux.co.jp> | 2006-12-06 20:37:53 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 08:39:38 -0800 |
commit | 386d9a7edd9f3492c99124b0a659e9ed7abb30f9 (patch) | |
tree | 6b7f05e1b023f12b113845c23af9a3ba263fef99 /arch/ia64/ia32 | |
parent | 651971cb7242e8f6d7ebd153e69bd271cb731223 (diff) | |
download | op-kernel-dev-386d9a7edd9f3492c99124b0a659e9ed7abb30f9.zip op-kernel-dev-386d9a7edd9f3492c99124b0a659e9ed7abb30f9.tar.gz |
[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/ia64/ia32')
-rw-r--r-- | arch/ia64/ia32/ia32priv.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ia64/ia32/ia32priv.h b/arch/ia64/ia32/ia32priv.h index 703a67c..cfa0bc0 100644 --- a/arch/ia64/ia32/ia32priv.h +++ b/arch/ia64/ia32/ia32priv.h @@ -330,8 +330,6 @@ struct old_linux32_dirent { void ia64_elf32_init(struct pt_regs *regs); #define ELF_PLAT_INIT(_r, load_addr) ia64_elf32_init(_r) -#define elf_addr_t u32 - /* This macro yields a bitmask that programs can use to figure out what instruction set this CPU supports. */ #define ELF_HWCAP 0 |