Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/powerpc Use uintptr_t for ras_entry
details: https://anonhg.NetBSD.org/src/rev/d7e24451e258
branches: trunk
changeset: 327146:d7e24451e258
user: matt <matt%NetBSD.org@localhost>
date: Fri Feb 28 05:41:21 2014 +0000
description:
Use uintptr_t for ras_entry
diffstat:
sys/arch/powerpc/powerpc/rtas.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r 8e232390d813 -r d7e24451e258 sys/arch/powerpc/powerpc/rtas.c
--- a/sys/arch/powerpc/powerpc/rtas.c Fri Feb 28 05:39:49 2014 +0000
+++ b/sys/arch/powerpc/powerpc/rtas.c Fri Feb 28 05:41:21 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtas.c,v 1.13 2011/07/17 20:54:46 joerg Exp $ */
+/* $NetBSD: rtas.c,v 1.14 2014/02/28 05:41:21 matt Exp $ */
/*
* CHRP RTAS support routines
@@ -9,7 +9,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtas.c,v 1.13 2011/07/17 20:54:46 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtas.c,v 1.14 2014/02/28 05:41:21 matt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -101,7 +101,7 @@
int ph = ca->ca_node;
int ih;
int rtas_size;
- int rtas_entry;
+ uintptr_t rtas_entry;
struct pglist pglist;
char buf[4];
int i;
@@ -157,8 +157,8 @@
rtas0_softc = sc;
- printf(": version %d, entry @pa 0x%x\n", sc->ra_version,
- (unsigned) rtas_entry);
+ printf(": version %d, entry @pa 0x%"PRIxPTR"\n", sc->ra_version,
+ rtas_entry);
/*
* Initialise TODR support
Home |
Main Index |
Thread Index |
Old Index