Use __kernel_old_dev_t for 2.6.x kernels

This commit is contained in:
Eric Andersen 2004-08-16 08:36:28 +00:00
parent cf6ef05711
commit 0722513497

View File

@ -33,6 +33,8 @@
#include <asm/posix_types.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
#define __bb_kernel_dev_t __kernel_old_dev_t
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
#define __bb_kernel_dev_t __kernel_dev_t
#else
#define __bb_kernel_dev_t unsigned short