Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ews4800mips/ews4800mips Fix dumb build errors. Comp...
details: https://anonhg.NetBSD.org/src/rev/a5fa8bc788d1
branches: trunk
changeset: 754577:a5fa8bc788d1
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Tue May 04 15:32:31 2010 +0000
description:
Fix dumb build errors. Compile test only.
diffstat:
sys/arch/ews4800mips/ews4800mips/machdep.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r 6551d06dbaec -r a5fa8bc788d1 sys/arch/ews4800mips/ews4800mips/machdep.c
--- a/sys/arch/ews4800mips/ews4800mips/machdep.c Tue May 04 15:00:39 2010 +0000
+++ b/sys/arch/ews4800mips/ews4800mips/machdep.c Tue May 04 15:32:31 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.22 2010/02/08 19:02:28 joerg Exp $ */
+/* $NetBSD: machdep.c,v 1.23 2010/05/04 15:32:31 tsutsui Exp $ */
/*-
* Copyright (c) 2001, 2004, 2005 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.22 2010/02/08 19:02:28 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.23 2010/05/04 15:32:31 tsutsui Exp $");
#include "opt_ddb.h"
@@ -88,7 +88,6 @@
mach_init(int argc, char *argv[], struct bootinfo *bi)
{
extern char kernel_text[], edata[], end[];
- struct pcb *pcb0;
vaddr_t v;
int i;
@@ -116,8 +115,8 @@
sbd_init();
__asm volatile("move %0, $29" : "=r"(v));
- printf("kernel_text=%p edata=%p end=%p sp=%lx\n", kernel_text, edata,
- end, v);
+ printf("kernel_text=%p edata=%p end=%p sp=%" PRIxVADDR "\n",
+ kernel_text, edata, end, v);
option(argc, argv, bi);
Home |
Main Index |
Thread Index |
Old Index