Remove user-visible references to PAGE_SIZE in include/asm-powerpc/elf.h

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
David Woodhouse 2006-04-25 13:51:52 +01:00
Родитель 454ac77845
Коммит dd02ec3ac2
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -3,14 +3,14 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/sched.h> /* for task_struct */ #include <linux/sched.h> /* for task_struct */
#include <asm/page.h>
#include <asm/string.h>
#endif #endif
#include <asm/types.h> #include <asm/types.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/cputable.h> #include <asm/cputable.h>
#include <asm/auxvec.h> #include <asm/auxvec.h>
#include <asm/page.h>
#include <asm/string.h>
/* PowerPC relocations defined by the ABIs */ /* PowerPC relocations defined by the ABIs */
#define R_PPC_NONE 0 #define R_PPC_NONE 0
@ -161,6 +161,7 @@ typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG];
typedef elf_vrreg_t elf_vrregset_t32[ELF_NVRREG32]; typedef elf_vrreg_t elf_vrregset_t32[ELF_NVRREG32];
#endif #endif
#ifdef __KERNEL__
/* /*
* This is used to ensure we don't load something for the wrong architecture. * This is used to ensure we don't load something for the wrong architecture.
*/ */
@ -176,8 +177,6 @@ typedef elf_vrreg_t elf_vrregset_t32[ELF_NVRREG32];
#define ELF_ET_DYN_BASE (0x08000000) #define ELF_ET_DYN_BASE (0x08000000)
#ifdef __KERNEL__
/* Common routine for both 32-bit and 64-bit processes */ /* Common routine for both 32-bit and 64-bit processes */
static inline void ppc_elf_core_copy_regs(elf_gregset_t elf_regs, static inline void ppc_elf_core_copy_regs(elf_gregset_t elf_regs,
struct pt_regs *regs) struct pt_regs *regs)