Re: seperator error in __mask_snprintf_len
From: Paul Mackerras
Date: Thu Jan 08 2004 - 19:25:42 EST
Joe Korty writes:
> I believe he wants the commas to group the digits by at most eight
> irrespective of architecture. Which seems reasonable.
Ah, ok, that makes sense. I guess we need a BITMAP_WORD macro which
looks like this on big-endian 64-bit systems:
#define BITMAP_WORD(p, n) (((u32 *)(p))[(n) ^ 1])
and this on other systems:
#define BITMAP_WORD(p, n) (((u32 *)(p))[(n)])
or something like that...
Paul.
-
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/