compat fixes again

This commit is contained in:
Kai Germaschewski 2001-01-24 23:48:03 +00:00
parent 9f0eb98882
commit 36564000fd
4 changed files with 6 additions and 0 deletions

View File

@ -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 */

View File

@ -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)

View File

@ -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)

View File

@ -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)