Re: save_flags() should take unsigned long

Richard B. Johnson (
Tue, 26 Mar 2002 08:47:58 -0500 (EST)

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:
> <in suitable header-file; suggestions welcome>
> 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.

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
More majordomo info at
Please read the FAQ at