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 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/
- References:
- [RFH] Partion table recovery
- From: Al Boldi <a1426z@gawab.com>
- Re: [RFH] Partition table recovery
- From: Rene Herman <rene.herman@gmail.com>
- Re: [RFH] Partition table recovery
- From: Al Boldi <a1426z@gawab.com>
- Re: [RFH] Partition table recovery
- From: Theodore Tso <tytso@mit.edu>
- Re: [RFH] Partition table recovery
- From: Rene Herman <rene.herman@gmail.com>
- Re: [RFH] Partition table recovery
- From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
- Re: [RFH] Partition table recovery
- From: Rene Herman <rene.herman@gmail.com>
- Re: [RFH] Partition table recovery
- From: Rene Herman <rene.herman@gmail.com>
- Re: [RFH] Partition table recovery
- From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
- [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):
![]() |