aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/ptrace_64.h
Commit message (Collapse)AuthorAge
* sh: correct definitions to access stack pointersRoel Kluin2011-01-05
| | | | | | | | | | | | | | | A definition like: #define regs_return_value(regs) ((regs)->regs[0]) called with regs_return_value(foo) will be preprocessed to: ((foo)->foo[0]) ^^^ So to fix this to ensure the preprocessor compiles such calls correctly. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: split out ptrace header for _32/_64 variants.Paul Mundt2010-06-14
asm/ptrace.h is getting a bit messy, with the _32/_64-specific changes being fairly insular. This splits out the header accordingly. Signed-off-by: Paul Mundt <lethal@linux-sh.org>