From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21958 invoked from network); 22 Sep 1999 01:53:09 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 22 Sep 1999 01:53:09 -0000 Received: from se_cometome.sec.samsung.com ([203.241.151.34]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id VAA04664 for ; Tue, 21 Sep 1999 21:53:07 -0400 Received: by se_cometome with Internet Mail Service (5.5.2650.21) id ; Wed, 22 Sep 1999 10:52:54 +0900 Message-ID: <012124DF922DD311B7640000F05104258BBE78@KH_ZEUS> From: Hyung Min SEO To: Frank Newton 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 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain > > 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,