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.115 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site