Re: [PATCH 6/8] Extend KD?BENT to handle > 256 keycodes.

From: Andrew Morton
Date: Thu Sep 25 2003 - 18:18:18 EST


Vojtech Pavlik <vojtech@xxxxxxx> wrote:
>
> input: Create new KD?BENT ioctls with a bigger key range (int), so that
> it's posible to recompile kbdutils on 2.6 and load keymaps for
> keys beyond 128. kbdutils compiled on 2.4 will keep working on
> 2.6, unfortunately not vice versa, without changing kbdutils.

Doesn't compile with older gcc's

diff -puN drivers/char/vt_ioctl.c~input-06-extend-entries-fix drivers/char/vt_ioctl.c
--- 25/drivers/char/vt_ioctl.c~input-06-extend-entries-fix Thu Sep 25 15:55:42 2003
+++ 25-akpm/drivers/char/vt_ioctl.c Thu Sep 25 15:55:44 2003
@@ -77,7 +77,7 @@ asmlinkage long sys_ioperm(unsigned long
static inline int
do_kdsk_ioctl(int cmd, void *user_kbe, int perm, struct kbd_struct *kbd)
{
- struct kbentry tmp, *kbe = user_kbe;;
+ struct kbentry tmp, *kbe = user_kbe;
struct kbentry_old old, *old_kbe = user_kbe;
ushort *key_map, val, ov;


_

-
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/