Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* /usr/src/linux/include/asm/current.h:4 Error ? ( was RE: The DP26 4/Swordfish MILO. )
@ 1999-09-22  1:46 Hyung Min SEO
  1999-09-24 18:25 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Hyung Min SEO @ 1999-09-22  1:46 UTC (permalink / raw)
  To: Frank Newton; +Cc: axp-list

> 
> Hyung:
> 
>   You asked me sometime ago why I wanted to rebuild the milo.  We
> mounting the alpha chip on a CPCI for factor (we did this for the 21164
> also).  Anyway the interrupts on the backplane requires a slightly
> different interrupt structure, so we made mods to the kernel code. 
> Changed the milo slightly and flash it on ROM.  Long story stort, when I
> compile you milo I get an error /usr/src/linux/include/asm/current.h:4
> global register variable follows a function definition.  
> 
> current.h 
> register struct task_struct *current __asm__("$8");
> 
> 
> Did you experience this problem?
> 
> Regards,
> 

I met same compile error several times when I compile the device driver for
samsung NIC card.
The problem does not occur when I compile the source with 2.0.x kernel but
if I use the 2.2.x version of kernel then there is a compile error like you
mentioned.

Does anybody know the way to fix it?
Regards,



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: /usr/src/linux/include/asm/current.h:4 Error ? ( was RE: The DP26 4/Swordfish MILO. )
  1999-09-22  1:46 /usr/src/linux/include/asm/current.h:4 Error ? ( was RE: The DP26 4/Swordfish MILO. ) Hyung Min SEO
@ 1999-09-24 18:25 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1999-09-24 18:25 UTC (permalink / raw)
  To: axp-list; +Cc: Frank Newton

On Wed, Sep 22, 1999 at 10:46:25AM +0900, Hyung Min SEO wrote:
> > compile you milo I get an error /usr/src/linux/include/asm/current.h:4
> > global register variable follows a function definition.  

The kernel is compiled with -ffixed-8.  I want to arrange for MILO
to be compiled without that header -- probably by fiddling with the
include path and supplying a replacement.



r~


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-09-24 18:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-22  1:46 /usr/src/linux/include/asm/current.h:4 Error ? ( was RE: The DP26 4/Swordfish MILO. ) Hyung Min SEO
1999-09-24 18:25 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox