linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.9-pre[34] changes in drivers/char/vt.c broke Sparc64
@ 2001-08-15 20:37 Maksim Krasnyanskiy
  2001-08-15 20:45 ` Russell King
  0 siblings, 1 reply; 3+ messages in thread
From: Maksim Krasnyanskiy @ 2001-08-15 20:37 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <no.id>]

end of thread, other threads:[~2001-08-15 20:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-15 20:37 2.4.9-pre[34] changes in drivers/char/vt.c broke Sparc64 Maksim Krasnyanskiy
2001-08-15 20:45 ` Russell King
     [not found] <no.id>
2001-08-15 21:02 ` Alan Cox

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).