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

Reply via email to