From: Maksim Krasnyanskiy <maxk@qualcomm.com>
To: linux-kernel@vger.kernel.org
Subject: 2.4.9-pre[34] changes in drivers/char/vt.c broke Sparc64
Date: Wed, 15 Aug 2001 13:37:17 -0700 [thread overview]
Message-ID: <4.3.1.0.20010815133146.034a75c0@mail1> (raw)
Hi,
Have you guys noticed that new vt.c in 2.4.9-pre[34] doesn't compile on Sparc64 (and Sparc32) ?
sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-regs -c -o vt.o vt.c
In file included from vt.c:27:
/usr/src/linux/include/linux/irq.h:57: asm/hw_irq.h: No such file or directory
vt.c: In function `vt_ioctl':
vt.c:507: `kbd_rate' undeclared (first use in this function)
vt.c:507: (Each undeclared identifier is reported only once
vt.c:507: for each function it appears in.)
vt.c:514: `kbd_rate' used prior to declaration
vt.c:514: warning: implicit declaration of function `kbd_rate'
Simple commenting out #include <linux/irq.h> and ioctl code that uses kbd_rate works.
Whoever changed vt.c please post correct fix.
Thanks
Max
Maksim Krasnyanskiy
Senior Kernel Engineer
Qualcomm Incorporated
maxk@qualcomm.com
http://bluez.sf.net
http://vtun.sf.net
next reply other threads:[~2001-08-15 20:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-15 20:37 Maksim Krasnyanskiy [this message]
2001-08-15 20:45 ` 2.4.9-pre[34] changes in drivers/char/vt.c broke Sparc64 Russell King
[not found] <no.id>
2001-08-15 21:02 ` Alan Cox
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=4.3.1.0.20010815133146.034a75c0@mail1 \
--to=maxk@qualcomm.com \
--cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).