Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760962AbXENG2v (ORCPT ); Mon, 14 May 2007 02:28:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757725AbXENG2p (ORCPT ); Mon, 14 May 2007 02:28:45 -0400 Received: from imx12.toshiba.co.jp ([61.202.160.132]:52600 "EHLO imx12.toshiba.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752342AbXENG2o (ORCPT ); Mon, 14 May 2007 02:28:44 -0400 X-Greylist: delayed 320 seconds by postgrey-1.27 at vger.kernel.org; Mon, 14 May 2007 02:28:44 EDT Date: Mon, 14 May 2007 15:28:23 +0900 Message-ID: From: Tsutomu OWA To: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Cc: mingo@elte.hu, tglx@linutronix.de Subject: Re: [patch 2/4] powerpc 2.6.21-rt1: convert spinlocks to raw ones for Celleb. In-Reply-To: References: User-Agent: Wanderlust/2.8.1 (Something) Emacs/20.7 Mule/4.0 (HANANOEN) Organization: Software Engineering Center, TOSHIBA. MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1332 Lines: 34 Convert more spinlocks to raw ones for Celleb. Signed-off-by: Tsutomu OWA -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/platforms/celleb/htab.c rt/arch/powerpc/platforms/celleb/htab.c --- linux-2.6.21-rt1/arch/powerpc/platforms/celleb/htab.c 2007-04-26 12:08:32.000000000 +0900 +++ rt/arch/powerpc/platforms/celleb/htab.c 2007-05-07 14:05:30.000000000 +0900 @@ -40,7 +40,7 @@ #define DBG_LOW(fmt...) do { } while(0) #endif -static DEFINE_SPINLOCK(beat_htab_lock); +static DEFINE_RAW_SPINLOCK(beat_htab_lock); static inline unsigned int beat_read_mask(unsigned hpte_group) { --- linux-2.6.21-rt1/arch/powerpc/platforms/celleb/interrupt.c 2007-04-26 12:08:32.000000000 +0900 +++ rt/arch/powerpc/platforms/celleb/interrupt.c 2007-05-09 17:02:33.000000000 +0900 @@ -30,7 +30,7 @@ #include "beat_wrapper.h" #define MAX_IRQS NR_IRQS -static DEFINE_SPINLOCK(beatic_irq_mask_lock); +static DEFINE_RAW_SPINLOCK(beatic_irq_mask_lock); static uint64_t beatic_irq_mask_enable[(MAX_IRQS+255)/64]; static uint64_t beatic_irq_mask_ack[(MAX_IRQS+255)/64]; - 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/