x86: unify include/asm/siginfo_32/64.h
Same file, except for the 64bit PREAMBLE_SIZE define. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
68fdc55c48
commit
f16ee28854
|
@ -39,8 +39,6 @@ unifdef-y += shmbuf_32.h
|
||||||
unifdef-y += shmbuf_64.h
|
unifdef-y += shmbuf_64.h
|
||||||
unifdef-y += sigcontext_32.h
|
unifdef-y += sigcontext_32.h
|
||||||
unifdef-y += sigcontext_64.h
|
unifdef-y += sigcontext_64.h
|
||||||
unifdef-y += siginfo_32.h
|
|
||||||
unifdef-y += siginfo_64.h
|
|
||||||
unifdef-y += signal_32.h
|
unifdef-y += signal_32.h
|
||||||
unifdef-y += signal_64.h
|
unifdef-y += signal_64.h
|
||||||
unifdef-y += stat_32.h
|
unifdef-y += stat_32.h
|
||||||
|
|
|
@ -1,13 +1,10 @@
|
||||||
#ifdef __KERNEL__
|
#ifndef _ASM_X86_SIGINFO_H
|
||||||
# ifdef CONFIG_X86_32
|
#define _ASM_X86_SIGINFO_H
|
||||||
# include "siginfo_32.h"
|
|
||||||
# else
|
#ifdef __x86_64__
|
||||||
# include "siginfo_64.h"
|
# define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
|
||||||
# endif
|
#endif
|
||||||
#else
|
|
||||||
# ifdef __i386__
|
#include <asm-generic/siginfo.h>
|
||||||
# include "siginfo_32.h"
|
|
||||||
# else
|
|
||||||
# include "siginfo_64.h"
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
#ifndef _I386_SIGINFO_H
|
|
||||||
#define _I386_SIGINFO_H
|
|
||||||
|
|
||||||
#include <asm-generic/siginfo.h>
|
|
||||||
|
|
||||||
#endif
|
|
|
@ -1,8 +0,0 @@
|
||||||
#ifndef _X8664_SIGINFO_H
|
|
||||||
#define _X8664_SIGINFO_H
|
|
||||||
|
|
||||||
#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
|
|
||||||
|
|
||||||
#include <asm-generic/siginfo.h>
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue