Subject: port-powerpc/23558: ibm4xx/genassym.cf
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <kiyohara@kk.iij4u.or.jp>
List: netbsd-bugs
Date: 11/24/2003 16:01:06
>Number: 23558
>Category: port-powerpc
>Synopsis: ibm4xx/genassym.cf
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-powerpc-maintainer
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Nov 24 16:02:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: KIYOHARA Takashi
>Release: -current
>Organization:
>Environment:
NetBSD evbppc.fool 1.6ZF NetBSD 1.6ZF (OPENBLOCKS266) #0: Sun Nov 23 18:27:43 JST 2003 lance@hierophant.fool:/usr/src/sys/arch/evbppc/compile/OPENBLOCKS266 evbppc
>Description:
evbppc (ibm4xx) compile error sys/arch/powerpc/powerpc/locore_subr.S.
undefined macro 'CI_CURPM' at sys/arch/powerpc/ibm4xx/genassym.cf.
>How-To-Repeat:
ex.
# cd /sys/arch/evbppc/conf
# config OPENBLOCKS266
# cd ../compile/OPENBLOCKS266
# make depend
>Fix:
diff -c -r1.8 genassym.cf
*** arch/powerpc/ibm4xx/genassym.cf 2003/08/27 20:20:07 1.8
--- arch/powerpc/ibm4xx/genassym.cf 2003/11/23 12:15:15
***************
*** 160,165 ****
--- 160,166 ----
define CI_SIZE sizeof(struct cpu_info)
define CI_CURLWP offsetof(struct cpu_info, ci_curlwp)
define CI_CURPCB offsetof(struct cpu_info, ci_curpcb)
+ define CI_CURPM offsetof(struct cpu_info, ci_curpm)
define CI_IDLE_PCB offsetof(struct cpu_info, ci_idle_pcb)
define CI_ASTPENDING offsetof(struct cpu_info, ci_astpending)
define CI_WANT_RESCHED offsetof(struct cpu_info, ci_want_resched)
>Release-Note:
>Audit-Trail:
>Unformatted: