Module Name:    src
Committed By:   matt
Date:           Thu Oct 13 19:49:50 UTC 2011

Modified Files:
        src/sys/arch/powerpc/pic: ipivar.h

Log Message:
Don't declare cpu_send_ipi if BOOKE


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/powerpc/pic/ipivar.h

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/pic/ipivar.h
diff -u src/sys/arch/powerpc/pic/ipivar.h:1.5 src/sys/arch/powerpc/pic/ipivar.h:1.6
--- src/sys/arch/powerpc/pic/ipivar.h:1.5	Sun Jun  5 16:52:26 2011
+++ src/sys/arch/powerpc/pic/ipivar.h	Thu Oct 13 19:49:50 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: ipivar.h,v 1.5 2011/06/05 16:52:26 matt Exp $ */
+/* $NetBSD: ipivar.h,v 1.6 2011/10/13 19:49:50 matt Exp $ */
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -29,11 +29,16 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipivar.h,v 1.5 2011/06/05 16:52:26 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipivar.h,v 1.6 2011/10/13 19:49:50 matt Exp $");
 
 #ifndef _IPI_VAR_H_
 #define _IPI_VAR_H_
 
+#ifdef _KERNEL_OPT
+#include "opt_ppcarch.h"
+#endif
+
+#if defined(_KERNEL) && !defined(PPC_BOOKE)
 struct ipi_ops {
 	void (*ppc_send_ipi)(cpuid_t, uint32_t);
 	/* type, level, arg */
@@ -64,5 +69,6 @@ cpu_send_ipi(cpuid_t cpuid, uint32_t msg
 {
 	(*ipiops.ppc_send_ipi)(cpuid, msg);
 }
+#endif
 
 #endif /*_IPI_VAR_H_*/

Reply via email to