]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/ia64/kernel/audit.c
[IA64] Fix the order of atomic operations in restore_previous_kprobes on ia64
[mv-sheeva.git] / arch / ia64 / kernel / audit.c
index 538312adc53b172941d09ab4d128a5efa57f0c0f..f3802ae89b108c610d16e3f0b6ab7b9597c21478 100644 (file)
@@ -28,6 +28,15 @@ static unsigned signal_class[] = {
 ~0U
 };
 
+int audit_classify_arch(int arch)
+{
+#ifdef CONFIG_IA32_SUPPORT
+       if (arch == AUDIT_ARCH_I386)
+               return 1;
+#endif
+       return 0;
+}
+
 int audit_classify_syscall(int abi, unsigned syscall)
 {
 #ifdef CONFIG_IA32_SUPPORT