summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/machfb.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-07-28 15:00:28 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-07-28 15:00:28 +0000
commit283d87d043c9cb54946cba43c7de5380099efbae (patch)
tree71e127af9aea9b9fbb04f9a14e925789c7b6ce71 /sys/arch/sparc64/dev/machfb.c
parent60d95225248225647acfbf1ab5e6b4084b90bf1a (diff)
Limit the "aperture needed" printf to ramdisks via RAMDISK_HOOKS.
Originally with SMALL_KERNEL until sebastia@ pointed out that not all ramdisks are built with SMALL_KERNEL. ok deraadt@ kettenis@
Diffstat (limited to 'sys/arch/sparc64/dev/machfb.c')
-rw-r--r--sys/arch/sparc64/dev/machfb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/machfb.c b/sys/arch/sparc64/dev/machfb.c
index 1c55ddf8ba4..967c634fc2f 100644
--- a/sys/arch/sparc64/dev/machfb.c
+++ b/sys/arch/sparc64/dev/machfb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machfb.c,v 1.9 2014/07/28 06:21:29 kettenis Exp $ */
+/* $OpenBSD: machfb.c,v 1.10 2014/07/28 15:00:27 jsg Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis.
@@ -295,7 +295,7 @@ machfb_attach(struct device *parent, struct device *self, void *aux)
printf(", %dx%d\n", sc->sc_sunfb.sf_width, sc->sc_sunfb.sf_height);
-#ifdef SMALL_KERNEL
+#ifdef RAMDISK_HOOKS
printf("%s: aperture needed\n", self->dv_xname);
#endif