ia64/xen-unstable

changeset 11988:f4b878188b5d

PV-to-HVM: Implement compatibility nonseekable_open as a nop on
kernels before 2.6.9

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Wed Oct 25 13:58:30 2006 +0100 (2006-10-25)
parents ded9d1ae21f7
children 5d2f91f9b2f0
files unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h
line diff
     1.1 --- a/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h	Wed Oct 25 13:58:30 2006 +0100
     1.2 +++ b/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h	Wed Oct 25 13:58:30 2006 +0100
     1.3 @@ -25,4 +25,8 @@
     1.4  #define NET_IP_ALIGN 0
     1.5  #endif
     1.6  
     1.7 +#if defined(_LINUX_FS_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,9)
     1.8 +#define nonseekable_open(inode, filp) /* Nothing to do */
     1.9  #endif
    1.10 +
    1.11 +#endif