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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 oneppc64 config that I tried:
drivers/char/hvc_console.h:59: error: field ‘kref’ has incomplete type
So move the include of kref.h too.
Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
diff -r f382d8f562a8 drivers/char/hvc_console.c--- a/drivers/char/hvc_console.c	Fri Jun 27 15:17:49 2008 +1000+++ b/drivers/char/hvc_console.c	Fri Jun 27 15:24:15 2008 +1000@@ -27,7 +27,6 @@ #include <linux/init.h> #include <linux/kbd_kern.h> #include <linux/kernel.h>-#include <linux/kref.h> #include <linux/kthread.h> #include <linux/list.h> #include <linux/module.h>diff -r f382d8f562a8 drivers/char/hvc_console.h--- a/drivers/char/hvc_console.h	Fri Jun 27 15:17:49 2008 +1000+++ b/drivers/char/hvc_console.h	Fri Jun 27 15:24:15 2008 +1000@@ -26,6 +26,7 @@  #ifndef HVC_CONSOLE_H #define HVC_CONSOLE_H+#include <linux/kref.h>  /*  * This is the max number of console adapters that can/will be found as_______________________________________________Virtualization mailing listVirtualization@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx://lists.linux-foundation.org/mailman/listinfo/virtualization


[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux