Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756331Ab0GMXUd (ORCPT ); Tue, 13 Jul 2010 19:20:33 -0400 Received: from lemon.ertos.nicta.com.au ([203.143.174.143]:51177 "EHLO lemon.ken.nicta.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752819Ab0GMXUb convert rfc822-to-8bit (ORCPT ); Tue, 13 Jul 2010 19:20:31 -0400 Date: Wed, 14 Jul 2010 09:20:22 +1000 Message-ID: From: Peter Chubb To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org CC: gerg@uclinux.org User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Face: GgFg(Z>fx((4\32hvXq<)|jndSniCH~~$D)Ka:P@e@JR1P%Vr}EwUdfwf-4j\rUs#JR{'h# !]])6%Jh~b$VA|ALhnpPiHu[-x~@<"@Iv&|%R)Fq[[,(&Z'O)Q)xCqe1\M[F8#9l8~}#u$S$Rm`S9% \'T@`:&8>Sb*c5d'=eDYI&GF`+t[LfDH="MP5rwOO]w>ALi7'=QJHz&y&C&TE_3j! Organization: National ICT Australia MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT X-SA-Exim-Connect-IP: 203.143.161.65 X-SA-Exim-Mail-From: peter.chubb@nicta.com.au Subject: AT91 NOMMU fails to compile 2.6.35-rc5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:11 +0000) X-SA-Exim-Scanned: Yes (on lemon.ken.nicta.com.au) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1321 Lines: 32 >From Linus's tree, 2.6.35-rc5, attempting to compile gives errors in system.h, because the AT91x40 does not have useful performance management counters. This patch avoids that problem. Signed-off-by: Peter Chubb Index: linux-2.6.x/arch/arm/mach-at91/include/mach/system.h =================================================================== --- linux-2.6.x.orig/arch/arm/mach-at91/include/mach/system.h 2010-07-14 09:07:21.046719584 +1000 +++ linux-2.6.x/arch/arm/mach-at91/include/mach/system.h 2010-07-14 09:07:50.426638015 +1000 @@ -28,7 +28,7 @@ static inline void arch_idle(void) { -#ifndef CONFIG_DEBUG_KERNEL +#if !defined(CONFIG_DEBUG_KERNEL) && defined(AT91_PMC) /* * Disable the processor clock. The processor will be automatically * re-enabled by an interrupt or by a reset. -- Dr Peter Chubb peter DOT chubb AT nicta.com.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia All things shall perish from under the sky/Music alone shall live, never to die -- 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/