Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032108AbXEHVF4 (ORCPT ); Tue, 8 May 2007 17:05:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S967801AbXEHVFx (ORCPT ); Tue, 8 May 2007 17:05:53 -0400 Received: from gw.goop.org ([64.81.55.164]:60336 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967789AbXEHVFw (ORCPT ); Tue, 8 May 2007 17:05:52 -0400 Message-ID: <4640E62D.8060704@goop.org> Date: Tue, 08 May 2007 14:05:49 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Krzysztof Halasa CC: David Rientjes , Randy Dunlap , Andrew Morton , Paul Sokolovsky , linux-kernel@vger.kernel.org Subject: Re: [RFC/PATCH] doc: volatile considered evil References: <516386418.20070501080839@gmail.com> <20070430235642.e576e917.akpm@linux-foundation.org> <20070508121404.17bd97a6.randy.dunlap@oracle.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 704 Lines: 21 Krzysztof Halasa wrote: > David Rientjes writes: > > >> Since 'volatile' has two different semantics depending on the context in >> which it is used, this warning should be appended to include the fact that >> it is legitimate to use for inline assembly. >> > > I think it hasn't two semantics, it's like arguing that char has two > semantics. > No, David means that "asm volatile (...)" is meaningful and OK to use. J - 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/