fix ipipe for !CONFIG_PRINTK
PATCH 1/1 fix ipipe for !CONFIG_PRINTK
Hi,
this patch lets ipipe compile even if someone is annoyed of all the babbling on the kernel console. ;)
Jan
kernel/ipipe/core.c renamed from kernel/ipipe/core.c.orig +4 -0
@@ -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 ();
Philippe Gerum
AppliedQuoted 4 lines · Jan Kiszka
Hi,
this patch lets ipipe compile even if someone is annoyed of all the babbling on the kernel console. ;)
Applied in my tree, thanks. This will show up later in the repository since GNA seems to encounter some space problems with the CVS server.
Quoted 39 lines
Jan
------------------------------------------------------------------------
kernel/ipipe/core.c renamed from kernel/ipipe/core.c.orig +4
-1@@ -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 (); ------------------------------------------------------------------------_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main
Signature · 1 line
Philippe.