[xtensa-cvscommit] linux/include/asm-xtensa processor.h,1.6,1.7 elf.h,1.6,1.7
Brought to you by:
zankel
|
From: <joe...@us...> - 2003-07-25 00:13:54
|
Update of /cvsroot/xtensa/linux/include/asm-xtensa In directory sc8-pr-cvs1:/tmp/cvs-serv2139/include/asm-xtensa Modified Files: processor.h elf.h Log Message: Resolve compiler warnings. Remove dead code. Provide assembler version of task size macro. Change the default personality. Index: processor.h =================================================================== RCS file: /cvsroot/xtensa/linux/include/asm-xtensa/processor.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** processor.h 20 Mar 2003 20:42:37 -0000 1.6 --- processor.h 25 Jul 2003 00:13:51 -0000 1.7 *************** *** 25,29 **** * applies to the stack as well. */ ! #define TASK_SIZE 0x40000000 --- 25,31 ---- * applies to the stack as well. */ ! #define TASK_SIZE (0x40000000UL) ! /* The assembler doesn't like the UL suffix on constants. */ ! #define TASK_SIZE_ASM (0x40000000) *************** *** 63,71 **** #define JUST_KRETADDR(x) (((x) & WI_MASK) | 0xc0000000) ! #if (TASK_SIZE > 0x40000000) #error Bad window-increment replacement in JUST_RETADDR above #endif ! #if (XCHAL_KSEG_CACHED_VADDR < 0xc0000000) #error Bad window-increment replacement in JUST_KRETADDR above #endif --- 65,73 ---- #define JUST_KRETADDR(x) (((x) & WI_MASK) | 0xc0000000) ! #if (TASK_SIZE > 0x40000000UL) #error Bad window-increment replacement in JUST_RETADDR above #endif ! #if (XCHAL_KSEG_CACHED_VADDR < 0xc0000000UL) #error Bad window-increment replacement in JUST_KRETADDR above #endif Index: elf.h =================================================================== RCS file: /cvsroot/xtensa/linux/include/asm-xtensa/elf.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** elf.h 13 Feb 2003 22:24:22 -0000 1.6 --- elf.h 25 Jul 2003 00:13:51 -0000 1.7 *************** *** 129,133 **** #define ELF_CORE_COPY_REGS(_eregs, _pregs) xtensa_elf_core_copy_regs (&_eregs, _pregs); ! extern void xtensa_elf_core_copy_regs (xtensa_gregset_t *, struct pt_regs *); --- 129,133 ---- #define ELF_CORE_COPY_REGS(_eregs, _pregs) xtensa_elf_core_copy_regs (&_eregs, _pregs); ! extern void xtensa_elf_core_copy_regs (elf_gregset_t *, struct pt_regs *); *************** *** 198,202 **** #ifdef __KERNEL__ ! #define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT) #endif --- 198,202 ---- #ifdef __KERNEL__ ! #define SET_PERSONALITY(ex, ibcs2) set_personality((ibcs2)?PER_SVR4:PER_LINUX) #endif |