Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 fix MULTIPROCESSOR build for previous.
details: https://anonhg.NetBSD.org/src/rev/a48741225d63
branches: trunk
changeset: 752349:a48741225d63
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Feb 24 06:05:35 2010 +0000
description:
fix MULTIPROCESSOR build for previous.
diffstat:
sys/arch/sparc64/sparc64/cache.h | 4 ++--
sys/arch/sparc64/sparc64/ipifuncs.c | 8 +++++---
2 files changed, 7 insertions(+), 5 deletions(-)
diffs (54 lines):
diff -r 9868c8dd314b -r a48741225d63 sys/arch/sparc64/sparc64/cache.h
--- a/sys/arch/sparc64/sparc64/cache.h Wed Feb 24 05:26:28 2010 +0000
+++ b/sys/arch/sparc64/sparc64/cache.h Wed Feb 24 06:05:35 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cache.h,v 1.13 2010/02/24 04:48:29 mrg Exp $ */
+/* $NetBSD: cache.h,v 1.14 2010/02/24 06:05:35 mrg Exp $ */
/*
* Copyright (c) 1996
@@ -136,7 +136,7 @@
}
#ifdef MULTIPROCESSOR
-void smp_tlb_flush_pte(vaddr_t, pmap_t);
+void smp_tlb_flush_pte(vaddr_t, struct pmap *);
#define tlb_flush_pte(va,pm) smp_tlb_flush_pte(va, pm)
#else
#define tlb_flush_pte(va,pm) sp_tlb_flush_pte(va, (pm)->pm_ctx)
diff -r 9868c8dd314b -r a48741225d63 sys/arch/sparc64/sparc64/ipifuncs.c
--- a/sys/arch/sparc64/sparc64/ipifuncs.c Wed Feb 24 05:26:28 2010 +0000
+++ b/sys/arch/sparc64/sparc64/ipifuncs.c Wed Feb 24 06:05:35 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipifuncs.c,v 1.32 2010/02/24 01:58:53 mrg Exp $ */
+/* $NetBSD: ipifuncs.c,v 1.33 2010/02/24 06:05:35 mrg Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.32 2010/02/24 01:58:53 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipifuncs.c,v 1.33 2010/02/24 06:05:35 mrg Exp $");
#include "opt_ddb.h"
@@ -44,6 +44,8 @@
#include <machine/pmap.h>
#include <machine/sparc64.h>
+#include <sparc64/sparc64/cache.h>
+
#if defined(DDB) || defined(KGDB)
#ifdef DDB
#include <ddb/db_command.h>
@@ -369,7 +371,7 @@
* Flush pte on all active processors.
*/
void
-smp_tlb_flush_pte(vaddr_t va, pmap_t pm)
+smp_tlb_flush_pte(vaddr_t va, struct pmap * pm)
{
sparc64_cpuset_t cpuset;
struct cpu_info *ci;
Home |
Main Index |
Thread Index |
Old Index