* + m68knommu-blackfin-remove-old-assembler-only-flags-bit-definitions.patch added to -mm tree
@ 2010-08-19 23:20 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2010-08-19 23:20 UTC (permalink / raw)
To: mm-commits; +Cc: phdm, geert, gerg, vapier
The patch titled
m68k{nommu}/blackfin : remove old assembler-only flags bit definitions
has been added to the -mm tree. Its filename is
m68knommu-blackfin-remove-old-assembler-only-flags-bit-definitions.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: m68k{nommu}/blackfin : remove old assembler-only flags bit definitions
From: Philippe De Muyter <phdm@macqel.be>
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>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
arch/blackfin/include/asm/entry.h | 8 --------
arch/m68k/include/asm/entry_mm.h | 8 --------
arch/m68k/include/asm/entry_no.h | 10 ----------
3 files changed, 26 deletions(-)
diff -puN arch/blackfin/include/asm/entry.h~m68knommu-blackfin-remove-old-assembler-only-flags-bit-definitions arch/blackfin/include/asm/entry.h
--- a/arch/blackfin/include/asm/entry.h~m68knommu-blackfin-remove-old-assembler-only-flags-bit-definitions
+++ a/arch/blackfin/include/asm/entry.h
@@ -15,14 +15,6 @@
#define LFLUSH_I_AND_D 0x00000808
#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
* start by saving SYSCFG on the stack with their first instruction.
diff -puN arch/m68k/include/asm/entry_mm.h~m68knommu-blackfin-remove-old-assembler-only-flags-bit-definitions arch/m68k/include/asm/entry_mm.h
--- a/arch/m68k/include/asm/entry_mm.h~m68knommu-blackfin-remove-old-assembler-only-flags-bit-definitions
+++ a/arch/m68k/include/asm/entry_mm.h
@@ -47,14 +47,6 @@
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_SYS save_all_sys
#define RESTORE_ALL restore_all
diff -puN arch/m68k/include/asm/entry_no.h~m68knommu-blackfin-remove-old-assembler-only-flags-bit-definitions arch/m68k/include/asm/entry_no.h
--- a/arch/m68k/include/asm/entry_no.h~m68knommu-blackfin-remove-old-assembler-only-flags-bit-definitions
+++ a/arch/m68k/include/asm/entry_no.h
@@ -32,16 +32,6 @@
#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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-19 23:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-19 23:20 + m68knommu-blackfin-remove-old-assembler-only-flags-bit-definitions.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.