Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Hyung Min SEO <HMSEO@sec.samsung.com>
To: Frank Newton <newt@altatech.com>
Cc: axp-list@redhat.com
Subject: /usr/src/linux/include/asm/current.h:4 Error ? ( was RE: The DP26 4/Swordfish MILO. )
Date: Wed, 22 Sep 1999 10:46:25 +0900	[thread overview]
Message-ID: <012124DF922DD311B7640000F05104258BBE78@KH_ZEUS> (raw)

> 
> 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,



             reply	other threads:[~1999-09-22  1:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-22  1:46 Hyung Min SEO [this message]
1999-09-24 18:25 ` /usr/src/linux/include/asm/current.h:4 Error ? ( was RE: The DP26 4/Swordfish MILO. ) Richard Henderson
read-only archive

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