patch-2.4.7 linux/fs/ntfs/support.h

Next file: linux/fs/ntfs/sysctl.c
Previous file: linux/fs/ntfs/support.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/fs/ntfs/support.h linux/fs/ntfs/support.h
@@ -1,6 +1,8 @@
-/*  support.h - Header file for specific support.c
+/*
+ * support.h - Header file for specific support.c
  *
- *  Copyright (C) 1997 Régis Duchesne
+ * Copyright (C) 1997 Régis Duchesne
+ * Copyright (c) 2001 Anton Altaparmakov (AIA)
  */
 
 /* Debug levels */
@@ -20,10 +22,15 @@
 void ntfs_debug(int mask, const char *fmt, ...);
 
 #include <linux/slab.h>
+#include <linux/vmalloc.h>
 
 #define ntfs_malloc(size)  kmalloc(size, GFP_KERNEL)
 
 #define ntfs_free(ptr)     kfree(ptr)
+
+#define ntfs_vmalloc(size)	vmalloc_32(size)
+
+#define ntfs_vfree(ptr)		vfree(ptr)
 
 void ntfs_bzero(void *s, int n);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)