diff options
| author | Russell King <rmk@arm.linux.org.uk> | 2003-09-07 01:48:13 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-09-07 01:48:13 -0700 |
| commit | 2c9f643ab43398001d840e5a33cce829fbb3be4c (patch) | |
| tree | 5366e92cdf745c37b948bfd76ea1e362f15d7ffe /include/linux | |
| parent | b0deac0886b0056765afd149e9834373b38e096b (diff) | |
[PATCH] Fixes to allow ARM to build in the standard tree
In addition to the MODULE_ALIAS_LDISC patch, the following changes to
generic code are needed to allow ARM to build in Linus' tree.
The first is to add PT_SINGLESTEP to ptrace.h so we do the right thing
when adding/removing breakpoint instructions into processes (see
arch/arm/kernel/{signal.c,ptrace.c} for usage.)
The second is needed because pmd_clear() needs to flush the pmd.
However, we can't include tlbflush.h into pgtable.h without causing
a circular dependency (tlbflush.h needs vm_area_struct and mm_struct
which are in mm.h, which needs pgtable.h.) swapfile.c seems to be the
only file affected.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ptrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index 91de88700cbe..91a309f8a0a1 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h @@ -65,6 +65,7 @@ #define PT_TRACE_EXIT 0x00000200 #define PT_TRACE_MASK 0x000003f4 +#define PT_SINGLESTEP 0x80000000 /* single stepping (used on ARM) */ #include <linux/compiler.h> /* For unlikely. */ #include <linux/sched.h> /* For struct task_struct. */ |
