[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [RFC][PATCH] loadkmap/dumpkmap: remove endianess dependency
From: John Spencer <maillist-busybox () barfooze ! de>
Date: 2013-09-17 0:55:42
Message-ID: 5237A88E.8020606 () barfooze ! de
[Download RAW message or body]
On 09/17/2013 02:38 AM, Denys Vlasenko wrote:
> On Monday 16 September 2013 14:38, John Spencer wrote:
>> currently dumpkmap stores the keymap in the host endian format.
>> that makes it impossible to create portable kmaps for usage on different
>> archs.
>>
>> however, i'm not sure if (apart from the endian differences) the kernel
>> keymaps differ between archs, so this may be unnecessary anyway.
>
> This would create nasty surprise at update time :/
>
indeed, but how about if it needs to be enabled via config
#ifndef CONFIG_KMAP_PORTABLE
#define htons(x) x
#define ntohs(x) x
#endif
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic