Ticket #17771: fix.patch
| File fix.patch, 741 bytes (added by , 6 years ago) |
|---|
-
\vbox_drv.h
old new 44 44 # include <linux/spinlock_types.h> 45 45 #endif 46 46 47 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0) 48 #define U8_MAX ((u8)~0U) 49 #define S8_MAX ((s8)(U8_MAX>>1)) 50 #define S8_MIN ((s8)(-S8_MAX - 1)) 51 #define U16_MAX ((u16)~0U) 52 #define S16_MAX ((s16)(U16_MAX>>1)) 53 #define S16_MIN ((s16)(-S16_MAX - 1)) 54 #define U32_MAX ((u32)~0U) 55 #define S32_MAX ((s32)(U32_MAX>>1)) 56 #define S32_MIN ((s32)(-S32_MAX - 1)) 57 #define U64_MAX ((u64)~0ULL) 58 #define S64_MAX ((s64)(U64_MAX>>1)) 59 #define S64_MIN ((s64)(-S64_MAX - 1)) 60 #endif 61 47 62 #include <linux/genalloc.h> 48 63 #include <linux/io.h> 49 64 #include <linux/string.h>

