Module Name:    src
Committed By:   matt
Date:           Sat Jun 18 20:28:50 UTC 2011

Modified Files:
        src/sys/arch/powerpc/ibm4xx: genassym.cf

Log Message:
Add things needed for __HAVE_FAST_SOFTINTRS


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/powerpc/ibm4xx/genassym.cf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/ibm4xx/genassym.cf
diff -u src/sys/arch/powerpc/ibm4xx/genassym.cf:1.19 src/sys/arch/powerpc/ibm4xx/genassym.cf:1.20
--- src/sys/arch/powerpc/ibm4xx/genassym.cf:1.19	Sun Jun  5 16:52:25 2011
+++ src/sys/arch/powerpc/ibm4xx/genassym.cf	Sat Jun 18 20:28:48 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: genassym.cf,v 1.19 2011/06/05 16:52:25 matt Exp $
+#	$NetBSD: genassym.cf,v 1.20 2011/06/18 20:28:48 matt Exp $
 
 #
 # Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -132,6 +132,7 @@
 define	MSR_PR		31-ilog2(PSL_PR)
 
 define	L_CPU		offsetof(struct lwp, l_cpu)
+define	L_CTXSWTCH	offsetof(struct lwp, l_ctxswtch)
 define	L_MD_ASTPENDING	offsetof(struct lwp, l_md.md_astpending)
 define	L_MD_UTF	offsetof(struct lwp, l_md.md_utf)
 define	L_PCB		offsetof(struct lwp, l_addr)
@@ -139,6 +140,10 @@
 
 define	P_MD_SYSCALL	offsetof(struct proc, p_md.md_syscall)
 
+ifdef __HAVE_FAST_SOFTINTS
+define	__HAVE_FAST_SOFTINTS	__HAVE_FAST_SOFTINTS
+endif
+
 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)
@@ -152,7 +157,7 @@
 define	CI_IPKDBSAVE	offsetof(struct cpu_info, ci_ipkdbsave)
 define	CI_TLBMISSSAVE	offsetof(struct cpu_info, ci_tlbmisssave)
 define	CI_IDLESPIN	offsetof(struct cpu_info, ci_idlespin)
-define	CI_NINTR	offsetof(struct cpu_info, ci_data.cpu_nintr)
+define	CI_MTX_COUNT	offsetof(struct cpu_info, ci_mtx_count)
 
 define	CPUSAVE_R28	CPUSAVE_R28*sizeof(register_t)
 define	CPUSAVE_R29	CPUSAVE_R29*sizeof(register_t)

Reply via email to