Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755931Ab2BOJwq (ORCPT ); Wed, 15 Feb 2012 04:52:46 -0500 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:38899 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751647Ab2BOJwm (ORCPT ); Wed, 15 Feb 2012 04:52:42 -0500 Date: Wed, 15 Feb 2012 09:52:16 +0000 From: Will Deacon To: Russell King - ARM Linux Cc: Axel Lin , "linux-kernel@vger.kernel.org" , Nathaniel Husted , Eric Paris , Dave Martin , Nicolas Pitre , Ingo Molnar , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH] ARM: ptrace: Include linux/audit.h to fix build errors Message-ID: <20120215095216.GA29319@mudshark.cambridge.arm.com> References: <1329284188.12708.1.camel@phoenix> <20120215083609.GD13673@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120215083609.GD13673@n2100.arm.linux.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1119 Lines: 23 On Wed, Feb 15, 2012 at 08:36:09AM +0000, Russell King - ARM Linux wrote: > On Wed, Feb 15, 2012 at 01:36:28PM +0800, Axel Lin wrote: > > Include linux/audit.h to fix below build errors: > > > > CC arch/arm/kernel/ptrace.o > > arch/arm/kernel/ptrace.c: In function 'syscall_trace': > > arch/arm/kernel/ptrace.c:919: error: implicit declaration of function 'audit_syscall_exit' > > arch/arm/kernel/ptrace.c:921: error: implicit declaration of function 'audit_syscall_entry' > > arch/arm/kernel/ptrace.c:921: error: 'AUDIT_ARCH_ARMEB' undeclared (first use in this function) > > Err, can someone explain why we seem to tell the audit code that we're > always big endian? I can't see this patch in the linux-arm-kernel archives, so that's probably why we missed it. The fix should be pretty straightforward though - Axel, care to add the appropriate ifdeffery? Will -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/