From: Kees Cook Date: Thu, 20 Sep 2012 22:46:06 +0000 (-0700) Subject: audit: define AUDIT_ARCH_OPENRISC X-Git-Tag: v3.7-rc1~13^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2bebb4ae6d9ac4ffc524db67f7ecb205a173f77;p=pandora-kernel.git audit: define AUDIT_ARCH_OPENRISC When using audit on OpenRISC, an audit arch is needed. This defines it and fixes a compile-time bug uncovered in linux-next, likely from a cut/paste from an arch with 64/32-bit modes that defined arch_arch(): arch/openrisc/kernel/ptrace.c:190:2: error: implicit declaration of function 'audit_arch' This replaces it with the newly defined AUDIT_ARCH_OPENRISC, since it is only 32-bit, and currently only operates in big-endian mode. Reported-by: Geert Uytterhoeven Signed-off-by: Kees Cook Signed-off-by: Jonas Bonn --- Reading git-diff-tree failed