Re: [PATCH] seq_file version of /proc/interrupts

From: Andrew Morton
Date: Mon Dec 22 2003 - 19:50:12 EST


corbet@xxxxxxx (Jonathan Corbet) wrote:
>
> > - int i, j;
> > + int i = *(int *) v, j;
>
> > That int * has to be a loff_t * or bad things will happen on a 64bit big
> > endian platform :)
>
> You mean the world's not all an x86? What are things coming to?
>
> Andrew, Marc, this seems almost certain to the the source of the problem
> you brought to my attention. I'll try to get a supplemental patch to you
> tomorrow. Obviously, it should be a loff_t for all architectures, even if
> it works for most now.

hmm, I seem to have already fixed pppc64. I'll fix up the other
architectures.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/