提交 f16ee288 编写于 作者: T Thomas Gleixner 提交者: Thomas Gleixner

x86: unify include/asm/siginfo_32/64.h

Same file, except for the 64bit PREAMBLE_SIZE define.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 68fdc55c
......@@ -39,8 +39,6 @@ unifdef-y += shmbuf_32.h
unifdef-y += shmbuf_64.h
unifdef-y += sigcontext_32.h
unifdef-y += sigcontext_64.h
unifdef-y += siginfo_32.h
unifdef-y += siginfo_64.h
unifdef-y += signal_32.h
unifdef-y += signal_64.h
unifdef-y += stat_32.h
......
#ifdef __KERNEL__
# ifdef CONFIG_X86_32
# include "siginfo_32.h"
# else
# include "siginfo_64.h"
# endif
#else
# ifdef __i386__
# include "siginfo_32.h"
# else
# include "siginfo_64.h"
# endif
#ifndef _ASM_X86_SIGINFO_H
#define _ASM_X86_SIGINFO_H
#ifdef __x86_64__
# define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
#endif
#include <asm-generic/siginfo.h>
#endif
#ifndef _I386_SIGINFO_H
#define _I386_SIGINFO_H
#include <asm-generic/siginfo.h>
#endif
#ifndef _X8664_SIGINFO_H
#define _X8664_SIGINFO_H
#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
#include <asm-generic/siginfo.h>
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册