Hi,

this patch lets ipipe compile even if someone is annoyed of all the
babbling on the kernel console. ;)

Jan
--- linux-2.6.14.3/kernel/ipipe/core.c.orig	2005-12-17 14:08:23.000000000 +0100
+++ linux-2.6.14.3/kernel/ipipe/core.c	2006-01-01 18:58:18.000000000 +0100
@@ -43,7 +43,9 @@
 
 unsigned long __ipipe_virtual_irq_map = 0;
 
+#ifdef CONFIG_PRINTK
 unsigned __ipipe_printk_virq;
+#endif /* CONFIG_PRINTK */
 
 int __ipipe_event_monitors[IPIPE_NR_EVENTS];
 
@@ -76,10 +78,12 @@
 
 	__ipipe_init_platform();
 
+#ifdef CONFIG_PRINTK
 	__ipipe_printk_virq = ipipe_alloc_virq();	/* Cannot fail here. */
 	ipd->irqs[__ipipe_printk_virq].handler = &__ipipe_flush_printk;
 	ipd->irqs[__ipipe_printk_virq].acknowledge = NULL;
 	ipd->irqs[__ipipe_printk_virq].control = IPIPE_HANDLE_MASK;
+#endif /* CONFIG_PRINTK */
 
 	__ipipe_enable_pipeline();
 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to