Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/pic Don't declare cpu_send_ipi if BOOKE
details: https://anonhg.NetBSD.org/src/rev/e51f4ea9e340
branches: trunk
changeset: 770346:e51f4ea9e340
user: matt <matt%NetBSD.org@localhost>
date: Thu Oct 13 19:49:50 2011 +0000
description:
Don't declare cpu_send_ipi if BOOKE
diffstat:
sys/arch/powerpc/pic/ipivar.h | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 9acc99676783 -r e51f4ea9e340 sys/arch/powerpc/pic/ipivar.h
--- a/sys/arch/powerpc/pic/ipivar.h Thu Oct 13 17:23:28 2011 +0000
+++ b/sys/arch/powerpc/pic/ipivar.h Thu Oct 13 19:49:50 2011 +0000
@@ -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 @@
{
(*ipiops.ppc_send_ipi)(cpuid, msg);
}
+#endif
#endif /*_IPI_VAR_H_*/
Home |
Main Index |
Thread Index |
Old Index