On 07/23/2007 03:15 PM, Jan-Benedict Glaw wrote:
static inline uint32_t le_32(uint32_t n) { #ifdef __LITTLE_ENDIAN return n; #else return bswap_32(n); #endif }#if __BYTE_ORDER == __LITTLE_ENDIAN, that is. sigh.Don't forget PDP11 byteorder :-)
How could I? It cracks me up every time... Rene. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [RFH] Partion table recovery
- From: Al Boldi <[email protected]>
- Re: [RFH] Partition table recovery
- From: Rene Herman <[email protected]>
- Re: [RFH] Partition table recovery
- From: Al Boldi <[email protected]>
- Re: [RFH] Partition table recovery
- From: Theodore Tso <[email protected]>
- Re: [RFH] Partition table recovery
- From: Rene Herman <[email protected]>
- Re: [RFH] Partition table recovery
- From: Jan-Benedict Glaw <[email protected]>
- Re: [RFH] Partition table recovery
- From: Rene Herman <[email protected]>
- Re: [RFH] Partition table recovery
- From: Rene Herman <[email protected]>
- Re: [RFH] Partition table recovery
- From: Jan-Benedict Glaw <[email protected]>
- [RFH] Partion table recovery
- Prev by Date: Re: [DRIVER SUBMISSION] DRBD wants to go mainline
- Next by Date: Re: copy: Problems with kernel 2.6.22-git15, 2.6.23-rc1
- Previous by thread: Re: [RFH] Partition table recovery
- Next by thread: Re: [RFH] Partition table recovery
- Index(es):