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
-  Lines: 27
-  Date:
Mon Jul 16 15:14:10 2001
-  Orig file: 
v2.4.6/linux/fs/ntfs/support.h
-  Orig date: 
Wed Apr 18 11:49:13 2001
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)