From: David Woodhouse Date: Thu, 29 Nov 2007 00:21:32 +0000 (-0800) Subject: Fix usage in userspace X-Git-Tag: MMI-PSA29.97-13-9~38219 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=79288f5e935cb445220eef83f3f793159555f9ae;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Fix usage in userspace For reasons unclear to me, glibc's deliberately defeats the attempt we make in to include For now, change the one instance of __u32 to 'unsigned int' instead because it's breaking userspace. We should probably also remove our inclusion of , since we don't use it -- but that's not a change to make in -rc. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: David Woodhouse Cc: Samuel Thibault Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/kd.h b/include/linux/kd.h index c91fc0c9c495..15f2853ea58f 100644 --- a/include/linux/kd.h +++ b/include/linux/kd.h @@ -126,7 +126,7 @@ struct kbdiacrs { #define KDSKBDIACR 0x4B4B /* write kernel accent table */ struct kbdiacruc { - __u32 diacr, base, result; + unsigned int diacr, base, result; }; struct kbdiacrsuc { unsigned int kb_cnt; /* number of entries in following array */