From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: linux-mips@linux-mips.org
Subject: Re: input_event for 64-bit kernel and 32-bit userland.
Date: Wed, 2 Jun 2004 12:55:31 +0200 [thread overview]
Message-ID: <20040602105531.GN20632@lug-owl.de> (raw)
In-Reply-To: <40BDA692.50606@dev.rtsoft.ru>
[-- Attachment #1: Type: text/plain, Size: 907 bytes --]
On Wed, 2004-06-02 14:06:10 +0400, Pavel Kiryukhin <savl@dev.rtsoft.ru>
wrote in message <40BDA692.50606@dev.rtsoft.ru>:
> Userspace application tries to read "input_event" (16 bytes) from
> "/dev/input/event0" [ read(fd,&key_ev, sizeof(key_ev)) ],
> input core driver treats "input_event" as 24 bytes structure. It is due
> to different size of "timeval" (and finally "long") in n64 kernel and
> n32 userland.
You'd probably Cc: that to LKML, too. That's an issue for all systems
running 64bit kernel with 32bit userland (eg. Ultra-Sparc, PPC64, IA64,
x86_64, ...).
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2004-06-02 10:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-02 10:06 input_event for 64-bit kernel and 32-bit userland Pavel Kiryukhin
2004-06-02 10:55 ` Jan-Benedict Glaw [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040602105531.GN20632@lug-owl.de \
--to=jbglaw@lug-owl.de \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox