Re: [PATCH] advertise KT_DEAD2

From: Samuel Thibault
Date: Sat Jun 13 2009 - 20:33:25 EST


Linus Torvalds, le Sat 13 Jun 2009 17:07:31 -0700, a écrit :
> On Sat, 13 Jun 2009, Samuel Thibault wrote:
> >
> > In addition to KT_DEAD which has limited support for diacriticals, there
> > is KT_DEAD2 that can support 256 criticals, so let's advertise it in
> > <linux/keyboard.h>.
>
> Can you do more of an explanation for this? KT_DEAD2 does not show up in a
> kernel grep, so..

That's precisely why I'm defining it. Other KT_* aren't usually
used from the kernel itself, but from userland. The kernel part is
the k_dead2 function in drivers/char/keyboard.c, like k_dead is for
KT_DEAD, the relation being in the K_HANDLERS initializer, sorry for not
mentioning it in my first mail.

Samuel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/