mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
[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>
This commit is contained in:
parent
651971cb72
commit
386d9a7edd
12 changed files with 2 additions and 22 deletions
|
@ -40,9 +40,6 @@
|
|||
#include <asm/pgalloc.h>
|
||||
|
||||
typedef char *elf_caddr_t;
|
||||
#ifndef elf_addr_t
|
||||
#define elf_addr_t unsigned long
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
#define kdebug(fmt, ...) printk("FDPIC "fmt"\n" ,##__VA_ARGS__ )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue