Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266096AbUJLQ0t (ORCPT ); Tue, 12 Oct 2004 12:26:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266115AbUJLQ0t (ORCPT ); Tue, 12 Oct 2004 12:26:49 -0400 Received: from modemcable166.48-200-24.mc.videotron.ca ([24.200.48.166]:34280 "EHLO xanadu.home") by vger.kernel.org with ESMTP id S266096AbUJLQ0s (ORCPT ); Tue, 12 Oct 2004 12:26:48 -0400 Date: Tue, 12 Oct 2004 12:26:30 -0400 (EDT) From: Nicolas Pitre X-X-Sender: nico@xanadu.home To: Paul Mundt cc: Andrew Morton , takata@linux-m32r.org, lkml Subject: Re: [PATCH] net: fix smc91x build for sh/ppc In-Reply-To: <20041012161631.GA8766@hed040-158.research.nokia.com> Message-ID: References: <20041012161631.GA8766@hed040-158.research.nokia.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 963 Lines: 22 On Tue, 12 Oct 2004, Paul Mundt wrote: > The current smc91x code uses set_irq_type(). It looks like the m32r guys > worked around this by adding a !defined(__m32r__) check, but this is equally > bogus as set_irq_type() is an arm/arm26-specific function. > > Trying to get this to build on sh died in the same spot, so we just back out > the m32r change and make it depend on CONFIG_ARM instead. Notably, the ppc > build would have been broken by this as well, but it doesn't seem like anyone > noticed this there yet. I previously suggested that architectures without set_irq_type() define it as an empty macro, but if only ARM has that function it's probably saner to just enable it for ARM as you did. Nicolas - 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/