From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751348Ab0J3FJG (ORCPT ); Sat, 30 Oct 2010 01:09:06 -0400 Received: from mailrelay012.isp.belgacom.be ([195.238.6.179]:38505 "EHLO mailrelay012.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750955Ab0J3FJC (ORCPT ); Sat, 30 Oct 2010 01:09:02 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAB9Ey0zCTtAn/2dsb2JhbACDCp4+catJkUyBIoMvcwSKVA Date: Sat, 30 Oct 2010 07:08:08 +0200 From: Philippe De Muyter To: Greg Ungerer Cc: Geert Uytterhoeven , linux-m68k@vger.kernel.org, dhowells@redhat.com, gerg@uclinux.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH][resend] m68k,m68knommu: Do not include linux/hardirq.h in asm/irqflags.h Message-ID: <20101030050808.GA26197@frolo.macqel> References: <4CCAD4E8.8040801@snapgear.com> <4CCB434A.7010400@snapgear.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4CCB434A.7010400@snapgear.com> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Greg, Geert, On Sat, Oct 30, 2010 at 07:57:30AM +1000, Greg Ungerer wrote: > > Hi Geert, > > On 30/10/10 02:31, Geert Uytterhoeven wrote: >> On Fri, Oct 29, 2010 at 16:06, Greg Ungerer wrote: >>> Philippe DeMuyter noticed this build failure with Linus' current git >>> tree. I think it is m68k clean too. If all are ok with it I'll >>> pass it directly to Linus. >> >> Sorry, I saw his patch before, but had no spare cycles left for testing. >> >> Unfortunately that breaks CONFIG_MMU=y: >> >> arch/m68k/include/asm/irqflags.h: In function ‘arch_local_irq_enable’: >> arch/m68k/include/asm/irqflags.h:43: error: implicit declaration of >> function ‘hardirq_count’ Oops. I am sorry. >> >> But if you protect the #include by #ifdef >> CONFIG_MMU, I'm happy with >> it. > > Thanks, I'll rework it with that. Thanks to both of you Philippe