* [Xenomai-core] [PATCH] fix ipipe for !CONFIG_PRINTK
@ 2006-01-02 18:28 Jan Kiszka
2006-01-02 18:54 ` [Xenomai-core] Re: [Adeos-main] " Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2006-01-02 18:28 UTC (permalink / raw)
To: adeos-main, xenomai-core
[-- Attachment #1.1: Type: text/plain, Size: 113 bytes --]
Hi,
this patch lets ipipe compile even if someone is annoyed of all the
babbling on the kernel console. ;)
Jan
[-- Attachment #1.2: no_printk.patch --]
[-- Type: text/x-patch, Size: 735 bytes --]
--- 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Xenomai-core] Re: [Adeos-main] [PATCH] fix ipipe for !CONFIG_PRINTK
2006-01-02 18:28 [Xenomai-core] [PATCH] fix ipipe for !CONFIG_PRINTK Jan Kiszka
@ 2006-01-02 18:54 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2006-01-02 18:54 UTC (permalink / raw)
To: Jan Kiszka; +Cc: adeos-main, xenomai-core
Jan Kiszka wrote:
> 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.
>
> 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();
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Adeos-main mailing list
> Adeos-main@domain.hid
> https://mail.gna.org/listinfo/adeos-main
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-02 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-02 18:28 [Xenomai-core] [PATCH] fix ipipe for !CONFIG_PRINTK Jan Kiszka
2006-01-02 18:54 ` [Xenomai-core] Re: [Adeos-main] " Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.