lkml.org 
[lkml]   [2012]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 10/35] Disintegrate asm/system.h for Hexagon [ver #2]
    Date
    On Monday 12 March 2012, David Howells wrote:
    > Disintegrate asm/system.h for Hexagon. Not compiled.
    >
    > Signed-off-by: David Howells <dhowells@redhat.com>
    > cc: linux-hexagon@vger.kernel.org
    > ---
    >
    > 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



    \
     
     \ /
      Last update: 2012-03-13 10:55    [W:0.025 / U:30.208 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site