Re: [PATCH] m68k{nommu}/blackfin : remove old assembler-only flagsbit definitions.

From: Mike Frysinger
Date: Tue Aug 17 2010 - 12:36:07 EST


On Tue, Aug 17, 2010 at 11:28, Philippe De Muyter wrote:
> 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.
>
> --- a/arch/blackfin/include/asm/entry.h
> +++ b/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
> -

looks like it has always been dead code on the Blackfin side having
originated from the m68k port.
Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>

we can split the changeset to m68k & blackfin, or just let the m68k
guys run the thing through their tree. i'm ok with it either way ...
i promise not to introduce conflicts into the blackfin file in the
mean time ;).
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/