Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern This not working on ews4800mips has nothing to do w...
details: https://anonhg.NetBSD.org/src/rev/767b076f2d0b
branches: trunk
changeset: 754755:767b076f2d0b
user: pooka <pooka%NetBSD.org@localhost>
date: Tue May 11 20:07:40 2010 +0000
description:
This not working on ews4800mips has nothing to do with rump, so:
_RUMPKERNEL -> _MACHINE != ews4800mips
diffstat:
sys/kern/subr_disk_mbr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 070a4877dd07 -r 767b076f2d0b sys/kern/subr_disk_mbr.c
--- a/sys/kern/subr_disk_mbr.c Tue May 11 18:34:37 2010 +0000
+++ b/sys/kern/subr_disk_mbr.c Tue May 11 20:07:40 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_disk_mbr.c,v 1.40 2010/05/04 12:20:50 tsutsui Exp $ */
+/* $NetBSD: subr_disk_mbr.c,v 1.41 2010/05/11 20:07:40 pooka Exp $ */
/*
* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_disk_mbr.c,v 1.40 2010/05/04 12:20:50 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_disk_mbr.c,v 1.41 2010/05/11 20:07:40 pooka Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -86,7 +86,7 @@
#define SCANBLOCKS 3
#define DISKLABEL_SIZE 404
#if LABELSECTOR*DEV_BSIZE + LABELOFFSET > SCANBLOCKS*DEV_BSIZE - DISKLABEL_SIZE
-#ifndef _RUMPKERNEL /* XXX: see src/sys/rump/dev/lib/libdisk/Makefile */
+#if _MACHINE != ews4800mips /* XXX: fail silently, ews4800mips LABELSECTOR */
#error Invalid LABELSECTOR or LABELOFFSET
#endif
#endif
Home |
Main Index |
Thread Index |
Old Index