Commit:     79288f5e935cb445220eef83f3f793159555f9ae
Parent:     fd79b77117f16264206ed2618199d42e93cc8f09
Author:     David Woodhouse <[EMAIL PROTECTED]>
AuthorDate: Wed Nov 28 16:21:32 2007 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Nov 29 09:24:52 2007 -0800

    Fix <linux/kd.h> usage in userspace
    For reasons unclear to me, glibc's <sys/kd.h> deliberately defeats the
    attempt we make in <linux/kd.h> to include <linux/types.h>
    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 <linux/types.h>, since we don't use it -- but that's not a
    change to make in -rc.
    [EMAIL PROTECTED]: coding-style fixes]
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
    Cc: Samuel Thibault <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 include/linux/kd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/kd.h b/include/linux/kd.h
index c91fc0c..15f2853 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 */
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to