Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761036AbXENGa4 (ORCPT ); Mon, 14 May 2007 02:30:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755513AbXENGau (ORCPT ); Mon, 14 May 2007 02:30:50 -0400 Received: from imx9.toshiba.co.jp ([202.33.96.51]:56984 "EHLO imx9.toshiba.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752342AbXENGat (ORCPT ); Mon, 14 May 2007 02:30:49 -0400 Date: Mon, 14 May 2007 15:26:25 +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 1/4] powerpc 2.6.21-rt1: fix a build breakage by adding __raw_*_relax() macros 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: 981 Lines: 25 Add missing macros to fix a build breakage for PREEMPT_DESKTOP. Signed-off-by: Tsutomu OWA -- owa diff -rup linux-2.6.21-rt1/include/asm-powerpc/spinlock.h rt/include/asm-powerpc/spinlock.h --- linux-2.6.21-rt1/include/asm-powerpc/spinlock.h 2007-05-07 14:08:12.000000000 +0900 +++ rt/include/asm-powerpc/spinlock.h 2007-05-07 16:56:41.000000000 +0900 @@ -289,5 +289,9 @@ static __inline__ void __raw_write_unloc #define _raw_read_relax(lock) __rw_yield(lock) #define _raw_write_relax(lock) __rw_yield(lock) +#define __raw_spin_relax(lock) cpu_relax() +#define __raw_read_relax(lock) cpu_relax() +#define __raw_write_relax(lock) cpu_relax() + #endif /* __KERNEL__ */ #endif /* __ASM_SPINLOCK_H */ - 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/