lkml.org 
[lkml]   [2003]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/8] Extend KD?BENT to handle > 256 keycodes.
On Thu, Sep 25, 2003 at 03:57:28PM -0700, Andrew Morton wrote:
> Vojtech Pavlik <vojtech@suse.cz> 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

Thanks, applied.

> 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;
>
>
> _
>

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

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.079 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site