openrisc: Fix up audit_syscall_[entry|exit]() usage
authorJonas Bonn <jonas@southpole.se>
Wed, 15 Feb 2012 14:02:20 +0000 (15:02 +0100)
committerJonas Bonn <jonas@southpole.se>
Fri, 17 Feb 2012 08:53:12 +0000 (09:53 +0100)
commit3f6ffc8c2087791920721f086f9a92fde7bed9e2
treeac9fdb4e433d456304c110d01d0d4c7b5cdce026
parentabdf8b5e07884a183938969253770164d60b87cb
openrisc: Fix up audit_syscall_[entry|exit]() usage

Commits d7e7528bcd456f5c36ad4a202ccfb43c5aa98bc4 and
b05d8447e7821695bc2fa3359431f7a664232743 simplified the usage of the
audit_syscall_[entry|exit] functions.  Unfortunately, the OpenRISC
architecture didn't get fixed up along with the other architectures when
those patches were pushed.  This makes the relevant changes to this
architecture.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
arch/openrisc/include/asm/ptrace.h
arch/openrisc/kernel/ptrace.c