Re: Mostly portable strnlen_user()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 27, 2012 at 8:07 PM, Paul Mackerras <paulus@xxxxxxxxx> wrote:
>
> Apart from a thinko in the aligned_byte_mask definition (it's wrong
> for 32-bit big-endian), it looks fine.  You're right about it not
> getting very far at all; my 32-bit powerbook couldn't even mount
> root.  I have sent a patch for that and one to use this stuff on
> powerpc - without Ben's ack since he is off sick at the moment.

Ahh. OpenRISC is 64-bit, and apparently David never tested 32-bit
sparc. I'd tested it on both x86-63 and i386, but those obviously
wouldn't have shown any big-endian issues.

Thanks,

                    Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux