Commit c925cf0b80cb486b31e1ec0e9f981d75a4b38453

Authored by Philippe De Muyter
Committed by Linus Torvalds
1 parent 732eacc054

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: Philippe De Muyter <phdm@macqel.be>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 3 changed files with 0 additions and 26 deletions Side-by-side Diff

arch/blackfin/include/asm/entry.h
... ... @@ -15,14 +15,6 @@
15 15 #define LFLUSH_I_AND_D 0x00000808
16 16 #define LSIGTRAP 5
17 17  
18   -/* process bits for task_struct.flags */
19   -#define PF_TRACESYS_OFF 3
20   -#define PF_TRACESYS_BIT 5
21   -#define PF_PTRACED_OFF 3
22   -#define PF_PTRACED_BIT 4
23   -#define PF_DTRACE_OFF 1
24   -#define PF_DTRACE_BIT 5
25   -
26 18 /*
27 19 * NOTE! The single-stepping code assumes that all interrupt handlers
28 20 * start by saving SYSCFG on the stack with their first instruction.
arch/m68k/include/asm/entry_mm.h
... ... @@ -50,14 +50,6 @@
50 50  
51 51 LFLUSH_I_AND_D = 0x00000808
52 52  
53   -/* process bits for task_struct.ptrace */
54   -PT_TRACESYS_OFF = 3
55   -PT_TRACESYS_BIT = 1
56   -PT_PTRACED_OFF = 3
57   -PT_PTRACED_BIT = 0
58   -PT_DTRACE_OFF = 3
59   -PT_DTRACE_BIT = 2
60   -
61 53 #define SAVE_ALL_INT save_all_int
62 54 #define SAVE_ALL_SYS save_all_sys
63 55 #define RESTORE_ALL restore_all
arch/m68k/include/asm/entry_no.h
... ... @@ -32,16 +32,6 @@
32 32  
33 33 #ifdef __ASSEMBLY__
34 34  
35   -/* process bits for task_struct.flags */
36   -PF_TRACESYS_OFF = 3
37   -PF_TRACESYS_BIT = 5
38   -PF_PTRACED_OFF = 3
39   -PF_PTRACED_BIT = 4
40   -PF_DTRACE_OFF = 1
41   -PF_DTRACE_BIT = 5
42   -
43   -LENOSYS = 38
44   -
45 35 #define SWITCH_STACK_SIZE (6*4+4) /* Includes return address */
46 36  
47 37 /*