• C
    arch/tile: make ptrace() work properly for TILE-Gx COMPAT mode · ce7f2a39
    Chris Metcalf 提交于
    Previously, we tried to pass 64-bit arguments through the
    "COMPAT" mode 32-bit syscall API, which turned out not to work
    well.  Now we just use straight 32-bit arguments in COMPAT mode,
    thus requiring individual registers to be read/written with
    two syscalls.  Of course this is uncommon, since usually all
    the registers are read or written at once.
    
    The restructuring applies to all the tile platforms, but is
    plausibly better than the original code in any case.
    Signed-off-by: NChris Metcalf <cmetcalf@tilera.com>
    ce7f2a39
compat.c 5.0 KB