Skip to content

Commit

Permalink
[PATCH] uml: header and code cleanup
Browse files Browse the repository at this point in the history
Remove some definitions and declarations from arch/um/include/skas_ptrace.h,
as they have moved to arch/um/include/sysdep/skas_ptrace.h

Also, remove PTRACE_SIGPENDING support in UML at all.

Signed-off-by: Bodo Stroesser <bstroesser@fujitsu-siemens.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Bodo Stroesser authored and Linus Torvalds committed May 5, 2005
1 parent 7c5131a commit 3a0a64e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
15 changes: 2 additions & 13 deletions arch/um/include/skas_ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,11 @@
#ifndef __SKAS_PTRACE_H
#define __SKAS_PTRACE_H

struct ptrace_faultinfo {
int is_write;
unsigned long addr;
};

struct ptrace_ldt {
int func;
void *ptr;
unsigned long bytecount;
};

#define PTRACE_FAULTINFO 52
#define PTRACE_SIGPENDING 53
#define PTRACE_LDT 54
#define PTRACE_SWITCH_MM 55

#include "sysdep/skas_ptrace.h"

#endif

/*
Expand Down
5 changes: 0 additions & 5 deletions arch/um/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,6 @@ long sys_ptrace(long request, long pid, long addr, long data)
break;
break;
}
case PTRACE_SIGPENDING:
ret = copy_to_user((unsigned long __user *) data,
&child->pending.signal,
sizeof(child->pending.signal));
break;

#ifdef PTRACE_LDT
case PTRACE_LDT: {
Expand Down

0 comments on commit 3a0a64e

Please sign in to comment.