compat fixes again
This commit is contained in:
parent
9f0eb98882
commit
36564000fd
|
@ -57,6 +57,7 @@
|
|||
#define devfs_register_chrdev(m,n,f) register_chrdev(m,n,f)
|
||||
#define devfs_unregister_chrdev(m,n) unregister_chrdev(m,n)
|
||||
#define COMPAT_NEED_PCI_IDS
|
||||
#define in_irq() (local_irq_count(smp_processor_id()) != 0)
|
||||
|
||||
#else /* 2.4.0 and later */
|
||||
|
||||
|
|
|
@ -72,3 +72,5 @@
|
|||
|
||||
#define COMPAT_NEED_PCI_IDS
|
||||
#undef COMPAT_HAS_SCHEDULE_TASK
|
||||
|
||||
#define in_irq(dummy) (local_irq_count[smp_processor_id()] != 0)
|
||||
|
|
|
@ -63,3 +63,4 @@
|
|||
#define COMPAT_NEED_PCI_IDS
|
||||
#undef COMPAT_HAS_SCHEDULE_TASK
|
||||
|
||||
#define in_irq(dummy) (local_irq_count[smp_processor_id()] != 0)
|
||||
|
|
|
@ -64,3 +64,5 @@
|
|||
#undef COMPAT_HAVE_NEW_FILLDIR
|
||||
#define COMPAT_USE_MODCOUNT_LOCK
|
||||
#undef COMPAT_HAS_pci_find_subsys
|
||||
|
||||
#define in_irq(dummy) (local_irq_count[smp_processor_id()] != 0)
|
||||
|
|
Loading…
Reference in New Issue