Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3be311e3 authored by Al Viro's avatar Al Viro Committed by H. Peter Anvin
Browse files

x86, um: sanitize uml sigcontext.h uses



a) the only difference between sigcontext and sysdep/sigcontext
is that the former contains externs for two long-dead functions.
Removed, switched the only user to sysdep/sigcontext

b) asm/sigcontext.h is removable - that of underlying architecture
would get used.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent 1de1502c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ core-y += $(ARCH_DIR)/kernel/ \
			   $(ARCH_DIR)/os-$(OS)/

# Have to precede the include because the included Makefiles reference them.
SYMLINK_HEADERS := archparam.h system.h sigcontext.h processor.h ptrace.h \
SYMLINK_HEADERS := archparam.h system.h processor.h ptrace.h \
	module.h vm-flags.h elf.h host_ldt.h
SYMLINK_HEADERS := $(foreach header,$(SYMLINK_HEADERS),$(ARCH_DIR)/include/asm/$(header))

+0 −6
Original line number Diff line number Diff line
#ifndef __UM_SIGCONTEXT_GENERIC_H
#define __UM_SIGCONTEXT_GENERIC_H

#include "asm/arch/sigcontext.h"

#endif
+0 −6
Original line number Diff line number Diff line
#ifndef __UM_SIGCONTEXT_I386_H
#define __UM_SIGCONTEXT_I386_H

#include "asm/sigcontext-generic.h"

#endif
+0 −10
Original line number Diff line number Diff line
#ifndef __UM_SIGCONTEXT_PPC_H
#define __UM_SIGCONTEXT_PPC_H

#define pt_regs sys_pt_regs

#include "asm/sigcontext-generic.h"

#undef pt_regs

#endif
+0 −22
Original line number Diff line number Diff line
/* Copyright 2003 PathScale, Inc.
 *
 * Licensed under the GPL
 */

#ifndef __UM_SIGCONTEXT_X86_64_H
#define __UM_SIGCONTEXT_X86_64_H

#include "asm/sigcontext-generic.h"

#endif

/*
 * Overrides for Emacs so that we follow Linus's tabbing style.
 * Emacs will notice this stuff at the end of the file and automatically
 * adjust the settings for this buffer only.  This must remain at the end
 * of the file.
 * ---------------------------------------------------------------------------
 * Local variables:
 * c-file-style: "linux"
 * End:
 */
Loading