Re: [PATCH 10/35] Disintegrate asm/system.h for Hexagon [ver #2]
From: Arnd Bergmann
Date: Tue Mar 13 2012 - 05:52:58 EST
On Monday 12 March 2012, David Howells wrote:
> Disintegrate asm/system.h for Hexagon. Not compiled.
>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> cc: linux-hexagon@xxxxxxxxxxxxxxx
> ---
>
> arch/hexagon/include/asm/atomic.h | 1
> arch/hexagon/include/asm/barrier.h | 41 +++++++++++
> arch/hexagon/include/asm/bitops.h | 1
> arch/hexagon/include/asm/cmpxchg.h | 90 +++++++++++++++++++++++
> arch/hexagon/include/asm/exec.h | 28 +++++++
> arch/hexagon/include/asm/switch_to.h | 34 +++++++++
> arch/hexagon/include/asm/system.h | 131 +---------------------------------
> arch/hexagon/kernel/ptrace.c | 1
> arch/hexagon/kernel/smp.c | 1
> arch/hexagon/kernel/vm_events.c | 1
> 10 files changed, 199 insertions(+), 130 deletions(-)
> create mode 100644 arch/hexagon/include/asm/barrier.h
> create mode 100644 arch/hexagon/include/asm/cmpxchg.h
> create mode 100644 arch/hexagon/include/asm/exec.h
> create mode 100644 arch/hexagon/include/asm/switch_to.h
Looking at this example, it could easily use the asm-generic versions of
switch_to.h and barrier.h, but that would complicate the dependency chain
again.
I think the same is true for other platforms.
Arnd
--
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/