Re: [RFC 1/3 v2] hvc_console: rework setup to replace irq functions with callbacks

2008-06-26 Thread Rusty Russell
On Friday 20 June 2008 23:24:08 Christian Borntraeger wrote: > I also kept hvc_struct defined in hvc_console.h so that hvc_irq.c can > access the irq_requested element. Added this fix: Fix compile of hvc_rtas.c Moving the struct definition out to the header had bad effect under one ppc64 config

[RFC 1/3 v2] hvc_console: rework setup to replace irq functions with callbacks

2008-06-20 Thread Christian Borntraeger
This patch tries to change hvc_console to not use request_irq/free_irq if the backend does not use irqs. This allows virtio_console to use hvc_console without having a linker reference to request_irq/free_irq. In addition, together with patch 2/3 it improves the performance for virtio console inpu