]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/relay.c
Merge branches 'tracing/doc', 'tracing/ftrace', 'tracing/printk' and 'linus' into...
[linux-2.6-omap-h63xx.git] / kernel / relay.c
index 9d79b7854fa6f98ee3595615798188ccf2f482fc..edc0ba6d81607e225ff8083397dc04eeeffdd871 100644 (file)
@@ -677,9 +677,7 @@ int relay_late_setup_files(struct rchan *chan,
         */
        for_each_online_cpu(i) {
                if (unlikely(!chan->buf[i])) {
-                       printk(KERN_ERR "relay_late_setup_files: CPU %u "
-                                       "has no buffer, it must have!\n", i);
-                       BUG();
+                       WARN_ONCE(1, KERN_ERR "CPU has no buffer!\n");
                        err = -EINVAL;
                        break;
                }