Commit c925cf0b authored by Philippe De Muyter's avatar Philippe De Muyter Committed by Linus Torvalds

m68k{nommu}/blackfin : remove old assembler-only flags bit definitions

Long ago, PT_TRACESYS_OFF and friends were introduced as hard defines to
avoid straight constants in assembler parts of linux m68k.  They are not
used anymore, and were not updated to follow changes in linux kernel.
Remove them.  When similar constants are needed, they are now generated
using asm-offsets.c.
Signed-off-by: default avatarPhilippe De Muyter <phdm@macqel.be>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 732eacc0
...@@ -15,14 +15,6 @@ ...@@ -15,14 +15,6 @@
#define LFLUSH_I_AND_D 0x00000808 #define LFLUSH_I_AND_D 0x00000808
#define LSIGTRAP 5 #define LSIGTRAP 5
/* process bits for task_struct.flags */
#define PF_TRACESYS_OFF 3
#define PF_TRACESYS_BIT 5
#define PF_PTRACED_OFF 3
#define PF_PTRACED_BIT 4
#define PF_DTRACE_OFF 1
#define PF_DTRACE_BIT 5
/* /*
* NOTE! The single-stepping code assumes that all interrupt handlers * NOTE! The single-stepping code assumes that all interrupt handlers
* start by saving SYSCFG on the stack with their first instruction. * start by saving SYSCFG on the stack with their first instruction.
......
...@@ -50,14 +50,6 @@ ...@@ -50,14 +50,6 @@
LFLUSH_I_AND_D = 0x00000808 LFLUSH_I_AND_D = 0x00000808
/* process bits for task_struct.ptrace */
PT_TRACESYS_OFF = 3
PT_TRACESYS_BIT = 1
PT_PTRACED_OFF = 3
PT_PTRACED_BIT = 0
PT_DTRACE_OFF = 3
PT_DTRACE_BIT = 2
#define SAVE_ALL_INT save_all_int #define SAVE_ALL_INT save_all_int
#define SAVE_ALL_SYS save_all_sys #define SAVE_ALL_SYS save_all_sys
#define RESTORE_ALL restore_all #define RESTORE_ALL restore_all
......
...@@ -32,16 +32,6 @@ ...@@ -32,16 +32,6 @@
#ifdef __ASSEMBLY__ #ifdef __ASSEMBLY__
/* process bits for task_struct.flags */
PF_TRACESYS_OFF = 3
PF_TRACESYS_BIT = 5
PF_PTRACED_OFF = 3
PF_PTRACED_BIT = 4
PF_DTRACE_OFF = 1
PF_DTRACE_BIT = 5
LENOSYS = 38
#define SWITCH_STACK_SIZE (6*4+4) /* Includes return address */ #define SWITCH_STACK_SIZE (6*4+4) /* Includes return address */
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment