Re: [PATCH] perfcounters: fix type/event_id layout on big-endiansystems

From: Paul Mackerras
Date: Sat Mar 21 2009 - 08:08:39 EST


Peter Zijlstra writes:

> Hmm, does userspace know about __BIG_ENDIAN_BITFIELD too? If not, we've
> got ourselves a problem here.

Yes, it does (I did test the patch), but I think going to explicit
shifting and masking will be better.

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/