* alpha: Hangcheck timer doesn't compile
@ 2003-02-19 8:53 Jan-Benedict Glaw
2003-02-23 2:27 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Jan-Benedict Glaw @ 2003-02-19 8:53 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]
Hi!
The hangcheck timer seems cannot be compiled on Alphas:
gcc -Wp,-MD,drivers/char/.hangcheck-timer.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -msmall-data -mcpu=ev4 -Wa,-mev6 -fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=hangcheck_timer -DKBUILD_MODNAME=hangcheck_timer -c -o drivers/char/hangcheck-timer.o drivers/char/hangcheck-timer.c
drivers/char/hangcheck-timer.c: In function `hangcheck_init':
drivers/char/hangcheck-timer.c:112: `current_cpu_data' undeclared (first use in this function)
drivers/char/hangcheck-timer.c:112: (Each undeclared identifier is reported only once
drivers/char/hangcheck-timer.c:112: for each function it appears in.)
make[3]: *** [drivers/char/hangcheck-timer.o] Error 1
make[2]: *** [drivers/char] Error 2
make[1]: *** [drivers] Error 2
make: *** [modules] Error 2
This is because current_cpu_data doesn't (currently) exist on alpha.
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur
fuer einen Freien Staat voll Freier Bürger" | im Internet!
Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: alpha: Hangcheck timer doesn't compile
2003-02-19 8:53 alpha: Hangcheck timer doesn't compile Jan-Benedict Glaw
@ 2003-02-23 2:27 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2003-02-23 2:27 UTC (permalink / raw)
To: linux-kernel
On Wed, Feb 19, 2003 at 09:53:03AM +0100, Jan-Benedict Glaw wrote:
> This is because current_cpu_data doesn't (currently) exist on alpha.
Indeed. Hangcheck is incorrectly assuming x86 datastructures.
Anyway, the driver as written isn't going to be useful on alpha
since the 32-bit TSC rolls over every 8 seconds.
r~
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-23 2:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-19 8:53 alpha: Hangcheck timer doesn't compile Jan-Benedict Glaw
2003-02-23 2:27 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox