commit | 9e1cb20619d8037248b6a776f777600c3584a8d5 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Wed Oct 27 15:34:03 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Oct 27 18:03:12 2010 -0700 |
tree | 2e0e4108fa3e604b98c447a1725bd6746be528ee | |
parent | 41a2437eb1d175efe1958e283241a66a871dbdea [diff] |
ptrace: cleanup arch_ptrace() on sh Remove unnecessary castings and get rid of dummy pointer in favor of offsetof() macro in ptrace_32.c. Also use temporary variables and break long lines in order to improve readability. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>