From 2c9f643ab43398001d840e5a33cce829fbb3be4c Mon Sep 17 00:00:00 2001 From: Russell King Date: Sun, 7 Sep 2003 01:48:13 -0700 Subject: [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. --- include/linux/ptrace.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') 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 /* For unlikely. */ #include /* For struct task_struct. */ -- cgit v1.2.3