Messages in this thread | | | Date | Fri, 9 Jan 2004 11:07:14 +1100 | From | Paul Mackerras <> | Subject | Re: seperator error in __mask_snprintf_len |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |