summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2014-02-28 05:41:21 +0000
committermatt <matt@NetBSD.org>2014-02-28 05:41:21 +0000
commit13d36ce55c68abc7fd76bce8668dfd6479c82b5f (patch)
treea44ad03c97406999484339e2abf60fe6513e5b40 /sys
parent27993efea6b09c7c33956d2b5abfb2c4023bc897 (diff)
Use uintptr_t for ras_entry
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/powerpc/rtas.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/powerpc/powerpc/rtas.c b/sys/arch/powerpc/powerpc/rtas.c
index c26b094c848..b538d954450 100644
--- a/sys/arch/powerpc/powerpc/rtas.c
+++ b/sys/arch/powerpc/powerpc/rtas.c
@@ -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 @@ rtas_attach(device_t parent, device_t self, void *aux)
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 @@ rtas_attach(device_t parent, device_t self, void *aux)
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