svn commit: r221133 - in stable/8/sys: mips/alchemy mips/sibyte
powerpc/booke
John Baldwin
jhb at FreeBSD.org
Wed Apr 27 19:36:01 UTC 2011
Author: jhb
Date: Wed Apr 27 19:36:00 2011
New Revision: 221133
URL: http://svn.freebsd.org/changeset/base/221133
Log:
MFC: Various small compile nits found by make universe that are in already
merged changes or larger changes not suitable for MFC.
Modified:
stable/8/sys/mips/alchemy/obio.c
stable/8/sys/mips/sibyte/sb_zbbus.c
stable/8/sys/powerpc/booke/platform_bare.c
Modified: stable/8/sys/mips/alchemy/obio.c
==============================================================================
--- stable/8/sys/mips/alchemy/obio.c Wed Apr 27 19:34:01 2011 (r221132)
+++ stable/8/sys/mips/alchemy/obio.c Wed Apr 27 19:36:00 2011 (r221133)
@@ -101,7 +101,7 @@ int irq_priorities[NIRQS] = {
static int obio_activate_resource(device_t, device_t, int, int,
struct resource *);
-static device_t obio_add_child(device_t, int, const char *, int);
+static device_t obio_add_child(device_t, u_int, const char *, int);
static struct resource *
obio_alloc_resource(device_t, device_t, int, int *, u_long,
u_long, u_long, u_int);
@@ -472,7 +472,7 @@ obio_hinted_child(device_t bus, const ch
}
static device_t
-obio_add_child(device_t bus, int order, const char *name, int unit)
+obio_add_child(device_t bus, u_int order, const char *name, int unit)
{
device_t child;
struct obio_ivar *ivar;
Modified: stable/8/sys/mips/sibyte/sb_zbbus.c
==============================================================================
--- stable/8/sys/mips/sibyte/sb_zbbus.c Wed Apr 27 19:34:01 2011 (r221132)
+++ stable/8/sys/mips/sibyte/sb_zbbus.c Wed Apr 27 19:36:00 2011 (r221133)
@@ -402,7 +402,7 @@ zbbus_setup_intr(device_t dev, device_t
}
static device_t
-zbbus_add_child(device_t bus, int order, const char *name, int unit)
+zbbus_add_child(device_t bus, u_int order, const char *name, int unit)
{
device_t child;
struct zbbus_devinfo *dinfo;
Modified: stable/8/sys/powerpc/booke/platform_bare.c
==============================================================================
--- stable/8/sys/powerpc/booke/platform_bare.c Wed Apr 27 19:34:01 2011 (r221132)
+++ stable/8/sys/powerpc/booke/platform_bare.c Wed Apr 27 19:36:00 2011 (r221133)
@@ -79,7 +79,7 @@ static platform_method_t bare_methods[]
PLATFORMMETHOD(platform_smp_get_bsp, bare_smp_get_bsp),
PLATFORMMETHOD(platform_smp_start_cpu, bare_smp_start_cpu),
- PLATFORMMETHOD(platform_reset, e500_reset);
+ PLATFORMMETHOD(platform_reset, e500_reset),
{ 0, 0 }
};
More information about the svn-src-stable
mailing list