Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 25 Feb 2003 14:05:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 25 Feb 2003 14:05:10 -0500 Received: from smtpzilla1.xs4all.nl ([194.109.127.137]:53777 "EHLO smtpzilla1.xs4all.nl") by vger.kernel.org with ESMTP id ; Tue, 25 Feb 2003 14:05:09 -0500 Date: Tue, 25 Feb 2003 20:14:55 +0100 (CET) From: Roman Zippel X-X-Sender: roman@serv To: "Richard B. Johnson" cc: Linux kernel Subject: Re: atomic_t (24 bits???) In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 761 Lines: 24 Hi, On Tue, 25 Feb 2003, Richard B. Johnson wrote: > In ../linux/include/asm/atomic.h, for versions 2.4.18 and > above as far as I've checked, there are repeated warnings > "Note that the guaranteed useful range of an atomic_t is > only 24 bits." > > I fail to see any reason why as atomic_t is typdefed to a > volatile int which, on ix86 seems to be 32 bits. > > Does anybody know if this is just some old comments from a > previous atomic_t type of, perhaps, char[3]? include/asm-sparc/atomic.h bye, Roman - 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/