Skip to content

Commit

Permalink
x86: unify include/asm/auxvec_32/64.h
Browse files Browse the repository at this point in the history
Same file, except for whitespace, comment formatting and the
AT_SYSINFO define for 32bit

Signed-off-by: Thomas Gleixner <[email protected]>
  • Loading branch information
KAGA-KOKO authored and Thomas Gleixner committed Oct 17, 2007
1 parent 17d3670 commit 0b4dc7c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 31 deletions.
2 changes: 0 additions & 2 deletions include/asm-x86/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ header-y += vsyscall32.h

unifdef-y += a.out_32.h
unifdef-y += a.out_64.h
unifdef-y += auxvec_32.h
unifdef-y += auxvec_64.h
unifdef-y += byteorder_32.h
unifdef-y += byteorder_64.h
unifdef-y += elf_32.h
Expand Down
23 changes: 11 additions & 12 deletions include/asm-x86/auxvec.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
#ifdef __KERNEL__
# ifdef CONFIG_X86_32
# include "auxvec_32.h"
# else
# include "auxvec_64.h"
# endif
#else
# ifdef __i386__
# include "auxvec_32.h"
# else
# include "auxvec_64.h"
# endif
#ifndef _ASM_X86_AUXVEC_H
#define _ASM_X86_AUXVEC_H
/*
* Architecture-neutral AT_ values in 0-17, leave some room
* for more of them, start the x86-specific ones at 32.
*/
#ifdef __i386__
#define AT_SYSINFO 32
#endif
#define AT_SYSINFO_EHDR 33

#endif
11 changes: 0 additions & 11 deletions include/asm-x86/auxvec_32.h

This file was deleted.

6 changes: 0 additions & 6 deletions include/asm-x86/auxvec_64.h

This file was deleted.

0 comments on commit 0b4dc7c

Please sign in to comment.