From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 065FFB7EE7 for ; Fri, 19 Feb 2010 09:01:26 +1100 (EST) Subject: Re: [PATCH] powerpc/82xx: Convert pci_pic_lock to raw_spinlock Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Kumar Gala In-Reply-To: <20100218135738.GA16072@oksana.dev.rtsoft.ru> Date: Thu, 18 Feb 2010 16:01:14 -0600 Message-Id: References: <20100218121904.620984825@linutronix.de> <20100218135738.GA16072@oksana.dev.rtsoft.ru> To: avorontsov@ru.mvista.com Cc: linuxppc-dev@ozlabs.org, Thomas Gleixner List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Feb 18, 2010, at 7:57 AM, Anton Vorontsov wrote: > Interrupt controllers' hooks are executed in the atomic context, so > they are not permitted to sleep (with RT kernels non-raw spinlocks are > sleepable). So, pci_pic_lock has to be a real (non-sleepable) spinlock. > > Signed-off-by: Anton Vorontsov > --- > arch/powerpc/platforms/82xx/pq2ads-pci-pic.c | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) applied to next - k