Skip to content

Commit

Permalink
x86, um: sanitize uml sigcontext.h uses
Browse files Browse the repository at this point in the history
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: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
Al Viro authored and H. Peter Anvin committed Oct 23, 2008
1 parent 1de1502 commit 3be311e
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 71 deletions.
2 changes: 1 addition & 1 deletion arch/um/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
6 changes: 0 additions & 6 deletions arch/um/include/asm/sigcontext-generic.h

This file was deleted.

6 changes: 0 additions & 6 deletions arch/um/include/asm/sigcontext-i386.h

This file was deleted.

10 changes: 0 additions & 10 deletions arch/um/include/asm/sigcontext-ppc.h

This file was deleted.

22 changes: 0 additions & 22 deletions arch/um/include/asm/sigcontext-x86_64.h

This file was deleted.

25 changes: 0 additions & 25 deletions arch/um/include/shared/sigcontext.h

This file was deleted.

2 changes: 1 addition & 1 deletion arch/um/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <asm/unistd.h>
#include "frame_kern.h"
#include "kern_util.h"
#include "sigcontext.h"
#include <sysdep/sigcontext.h>

EXPORT_SYMBOL(block_signals);
EXPORT_SYMBOL(unblock_signals);
Expand Down

0 comments on commit 3be311e

Please sign in to comment.