From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753047AbYFTTHL (ORCPT ); Fri, 20 Jun 2008 15:07:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754022AbYFTTGs (ORCPT ); Fri, 20 Jun 2008 15:06:48 -0400 Received: from gw.goop.org ([64.81.55.164]:57184 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753282AbYFTTGr (ORCPT ); Fri, 20 Jun 2008 15:06:47 -0400 Message-ID: <485BFFC4.3070902@goop.org> Date: Fri, 20 Jun 2008 12:06:44 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Ingo Molnar CC: Linus Torvalds , benh@kernel.crashing.org, xen-devel , Peter Zijlstra , kvm-devel , x86@kernel.org, LKML , Virtualization Mailing List , Hugh Dickins , Thomas Gleixner Subject: Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstraction References: <1213831403.8011.24.camel@pasglop> <4859A149.9090004@goop.org> <4859A528.1010107@goop.org> <4859AA47.2020903@goop.org> <20080619115832.GM15228@elte.hu> <20080619164708.GA32190@elte.hu> <20080620101028.GA23664@elte.hu> In-Reply-To: <20080620101028.GA23664@elte.hu> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ingo Molnar wrote: > * Ingo Molnar wrote: > > >> * Linus Torvalds wrote: >> >> >>> On Thu, 19 Jun 2008, Ingo Molnar wrote: >>> >>>> Below is the commit, it needed a small amount of massaging to apply the >>>> void * -> unsigned long * change in the x86/bitops topic. >>>> >>> Well, that's your bug right there. >>> >>> The macros very much depended on the pointers being "void *", due to >>> the pointer arithmetic (which is a gcc extension that we use >>> extensively - "void *" arithmetic works as if it was a byte >>> pointer). >>> >> duh, yeah - of course. Will retry with that fixed :) >> > > yep, the patch below got it all going and it passed 5 hours of testing > already. Thanks, > Blows up on "gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)": CC init/main.o include2/asm/bitops.h: In function `start_kernel': include2/asm/bitops.h:59: warning: asm operand 1 probably doesn't match constraints include2/asm/bitops.h:59: warning: asm operand 1 probably doesn't match constraints include2/asm/bitops.h:59: warning: asm operand 1 probably doesn't match constraints include2/asm/bitops.h:59: error: impossible constraint in `asm' include2/asm/bitops.h:59: error: impossible constraint in `asm' include2/asm/bitops.h:59: error: impossible constraint in `asm' J