From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751522Ab0HRFDq (ORCPT ); Wed, 18 Aug 2010 01:03:46 -0400 Received: from gate.crashing.org ([63.228.1.57]:46449 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751297Ab0HRFDl (ORCPT ); Wed, 18 Aug 2010 01:03:41 -0400 Subject: Re: 64-bit ppc rwsem (was: Re: [GIT] Sparc) From: Benjamin Herrenschmidt To: David Miller Cc: torvalds@linux-foundation.org, akpm@linux-foundation.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, paulus@au.ibm.com, linuxppc-dev In-Reply-To: <1282106338.22370.151.camel@pasglop> References: <20100817.180325.104051399.davem@davemloft.net> <20100817.191424.183031381.davem@davemloft.net> <1282106338.22370.151.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Date: Wed, 18 Aug 2010 15:03:23 +1000 Message-ID: <1282107803.22370.173.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2010-08-18 at 14:38 +1000, Benjamin Herrenschmidt wrote: > > Here's an untested patch for the folks on linuxppc-dev to look at, > I'll > review my own stuff & test tomorrow. Allright, gcc's being a pain, and atomics are a struct so we can't that easily assign. I tried various tricks but so far they didn't work. I'll have another look tomorrow, but I may end up having to keep all the crap typecasts. Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Date: Wed, 18 Aug 2010 05:03:23 +0000 Subject: Re: 64-bit ppc rwsem (was: Re: [GIT] Sparc) Message-Id: <1282107803.22370.173.camel@pasglop> List-Id: References: <20100817.180325.104051399.davem@davemloft.net> <20100817.191424.183031381.davem@davemloft.net> <1282106338.22370.151.camel@pasglop> In-Reply-To: <1282106338.22370.151.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: David Miller Cc: torvalds@linux-foundation.org, paulus@au.ibm.com, linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org, akpm@linux-foundation.org, linuxppc-dev On Wed, 2010-08-18 at 14:38 +1000, Benjamin Herrenschmidt wrote: > > Here's an untested patch for the folks on linuxppc-dev to look at, > I'll > review my own stuff & test tomorrow. Allright, gcc's being a pain, and atomics are a struct so we can't that easily assign. I tried various tricks but so far they didn't work. I'll have another look tomorrow, but I may end up having to keep all the crap typecasts. Cheers, Ben. 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 EDB0EB70E0 for ; Wed, 18 Aug 2010 15:03:39 +1000 (EST) Subject: Re: 64-bit ppc rwsem (was: Re: [GIT] Sparc) From: Benjamin Herrenschmidt To: David Miller In-Reply-To: <1282106338.22370.151.camel@pasglop> References: <20100817.180325.104051399.davem@davemloft.net> <20100817.191424.183031381.davem@davemloft.net> <1282106338.22370.151.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Date: Wed, 18 Aug 2010 15:03:23 +1000 Message-ID: <1282107803.22370.173.camel@pasglop> Mime-Version: 1.0 Cc: torvalds@linux-foundation.org, paulus@au.ibm.com, linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org, akpm@linux-foundation.org, linuxppc-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2010-08-18 at 14:38 +1000, Benjamin Herrenschmidt wrote: > > Here's an untested patch for the folks on linuxppc-dev to look at, > I'll > review my own stuff & test tomorrow. Allright, gcc's being a pain, and atomics are a struct so we can't that easily assign. I tried various tricks but so far they didn't work. I'll have another look tomorrow, but I may end up having to keep all the crap typecasts. Cheers, Ben.