sh: Fix up the audit arch endian specification.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 30 Jul 2008 11:05:35 +0000 (20:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 1 Aug 2008 19:39:33 +0000 (04:39 +0900)
commit9e5e21170e4de269cd5b9d53ac9d60d220e3be63
treed719e40aa41897b306c4925c37a0d83579966a87
parentab99c733ae73cce31f2a2434f7099564e5a73d95
sh: Fix up the audit arch endian specification.

Presently this was always being set to AUDIT_ARCH_SH, which assumes
big endian. Fix this up so that the architecture actually reflects
what we're running on.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/ptrace_32.c
arch/sh/kernel/ptrace_64.c