source: trunk/package/ep80579-drivers/patches/700-iegbe_kcompat_2.6.30.patch @ 20648

Last change on this file since 20648 was 20648, checked in by kaloz, 6 years ago

[x86]: add a subtarget and drivers for the Intel Tolapai SoC

File size: 677 bytes
  • Embedded/src/GbE/kcompat.h

    a b GPL LICENSE SUMMARY 
    4646#include <linux/sched.h> 
    4747#include <asm/io.h> 
    4848 
    49 #ifndef IRQ_HANDLED 
    50 #define irqreturn_t void 
    51 #define IRQ_HANDLED 
    52 #define IRQ_NONE 
    53 #endif 
    54  
    5549#ifndef SET_NETDEV_DEV 
    5650#define SET_NETDEV_DEV(net, pdev) 
    5751#endif 
    extern void dump_stack(void); 
    748742 
    749743#endif /* 2.4.24 */ 
    750744 
     745/*****************************************************************************/ 
     746#if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) ) 
     747#ifndef IRQ_HANDLED 
     748#define irqreturn_t void 
     749#define IRQ_HANDLED 
     750#define IRQ_NONE 
     751#endif 
     752#endif /* < 2.6.30 */ 
     753 
    751754#endif /* _KCOMPAT_H_ */ 
    752755 
    753756  
Note: See TracBrowser for help on using the repository browser.