Skip to content

Commit

Permalink
um: merge skas_ptrace.h 32/64bit variants
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
  • Loading branch information
Al Viro authored and Richard Weinberger committed Nov 2, 2011
1 parent 62982ad commit c75361b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 48 deletions.
25 changes: 21 additions & 4 deletions arch/um/sys-x86/shared/sysdep/skas_ptrace.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
#ifdef __i386__
#include "skas_ptrace_32.h"
#else
#include "skas_ptrace_64.h"
/*
* Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com)
* Licensed under the GPL
*/

#ifndef __SYSDEP_X86_SKAS_PTRACE_H
#define __SYSDEP_X86_SKAS_PTRACE_H

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

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

#define PTRACE_LDT 54

#endif
22 changes: 0 additions & 22 deletions arch/um/sys-x86/shared/sysdep/skas_ptrace_32.h

This file was deleted.

22 changes: 0 additions & 22 deletions arch/um/sys-x86/shared/sysdep/skas_ptrace_64.h

This file was deleted.

0 comments on commit c75361b

Please sign in to comment.