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

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/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.313 / U:0.880 seconds]
©2003-2014 Jasper Spaans. Advertise on this site