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 Remove unused cbit.
details: https://anonhg.NetBSD.org/src/rev/fbda5eb1e4bf
branches: trunk
changeset: 755876:fbda5eb1e4bf
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Jun 26 08:40:01 2010 +0000
description:
Remove unused cbit.
diffstat:
sys/arch/sparc64/sparc64/machdep.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 1e35c629060e -r fbda5eb1e4bf sys/arch/sparc64/sparc64/machdep.c
--- a/sys/arch/sparc64/sparc64/machdep.c Sat Jun 26 07:51:45 2010 +0000
+++ b/sys/arch/sparc64/sparc64/machdep.c Sat Jun 26 08:40:01 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.253 2010/05/08 07:34:02 mrg Exp $ */
+/* $NetBSD: machdep.c,v 1.254 2010/06/26 08:40:01 skrll Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.253 2010/05/08 07:34:02 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.254 2010/06/26 08:40:01 skrll Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -1454,14 +1454,13 @@
size_t size, void **kvap, int flags)
{
vaddr_t va, sva;
- int r, cbit;
+ int r;
size_t oversize;
u_long align;
if (nsegs != 1)
panic("_bus_dmamem_map: nsegs = %d", nsegs);
- cbit = PMAP_NC;
align = PAGE_SIZE;
size = round_page(size);
Home |
Main Index |
Thread Index |
Old Index