[lkml]   [2004]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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...

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

 \ /
  Last update: 2005-03-22 13:59    [W:0.113 / U:1.456 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site