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

From: Jonathan Corbet
Date: Mon Dec 22 2003 - 19:42:15 EST


> - 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.

Thanks,

jon
-
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/