Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 24 Mar 2011 15:21:21 +0100 (CET) Received: from www.linutronix.de ([62.245.132.108]:53936 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S1491185Ab1CXOVS (ORCPT ); Thu, 24 Mar 2011 15:21:18 +0100 Received: from localhost ([127.0.0.1]) by Galois.linutronix.de with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Q2lPV-0005u5-5s; Thu, 24 Mar 2011 15:21:13 +0100 Date: Thu, 24 Mar 2011 15:21:12 +0100 (CET) From: Thomas Gleixner To: Sergei Shtylyov cc: linux-mips@linux-mips.org, Ralf Baechle Subject: Re: [patch 37/38] mips: vr41xx: Cleanup the direct access to irq_desc[] In-Reply-To: <4D8B4D8E.1010000@mvista.com> Message-ID: References: <20110323210437.398062704@linutronix.de> <20110323210538.070462971@linutronix.de> <4D8B3CBC.3080307@mvista.com> <4D8B4D8E.1010000@mvista.com> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 29497 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: tglx@linutronix.de Precedence: bulk X-list: linux-mips On Thu, 24 Mar 2011, Sergei Shtylyov wrote: > Hello. > > On 24-03-2011 16:00, Thomas Gleixner wrote: > > > > > - if (!(desc->status& IRQ_DISABLED)&& desc->chip->unmask) > > > > - desc->chip->unmask(source_irq); > > > > + if (!(desc->status& IRQ_DISABLED)&& chip->irq_unmask) > > > > + chip->irq_unmask(idata); > > > > Hm, doesn't this (I mean the old) code break after the previous patch? > > > Not as long as the compat functions are active in the core. > > I've looked at compat_*() before replying: it seems that they work vice > versa, i.e. the new functions are emulated by calling the old, and you're > moving away from old to new in the previous patch. Maybe I miss something... Oops. Yes. So the patches should be folded