Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 26 Mar 2002 08:47:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 26 Mar 2002 08:47:27 -0500 Received: from chaos.analogic.com ([204.178.40.224]:14209 "EHLO chaos.analogic.com") by vger.kernel.org with ESMTP id ; Tue, 26 Mar 2002 08:47:22 -0500 Date: Tue, 26 Mar 2002 08:47:58 -0500 (EST) From: "Richard B. Johnson" Reply-To: root@chaos.analogic.com To: David Weinehall cc: Pavel Machek , kernel list , Rusty trivial patch monkey Russell Subject: Re: save_flags() should take unsigned long In-Reply-To: <20020326142955.E16636@khan.acc.umu.se> Message-ID: 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 On Tue, 26 Mar 2002, David Weinehall wrote: > On Mon, Mar 04, 2002 at 07:46:53PM +0100, Pavel Machek wrote: > > Hi! > > > > ...and here's patch to fix it... Please apply. > > The correct way to fix this would be: > > > typedef flags_t unsigned long; I don't think it takes an 'unsigned long'. Instead, it takes 'size_t'. This makes it work in all architectures because 'size_t' is the size of a register. Cheers, Dick Johnson Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips). Windows-2000/Professional isn't. - 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/