Move the internals read_super() functions near the declaration of
[yaffs2.git] / yaffs_ramem2k.c
index 2c113dbdba37db3c8c06b00a00572081e736d2e6..f32afe5794899e621fe9a2f7cba20295793cd74c 100644 (file)
  //yaffs_ramem2k.c: RAM emulation in-kernel for 2K pages (YAFFS2)
 
 
-const char *yaffs_ramem2k_c_version = "$Id: yaffs_ramem2k.c,v 1.1 2004-12-17 04:39:04 charles Exp $";
+const char *yaffs_ramem2k_c_version = "$Id: yaffs_ramem2k.c,v 1.3 2005-07-29 19:57:38 luc Exp $";
 
 #ifndef __KERNEL__
 #define CONFIG_YAFFS_RAM_ENABLED
+#else
+#include <linux/config.h>
 #endif
 
 #ifdef CONFIG_YAFFS_RAM_ENABLED
@@ -33,7 +35,7 @@ const char *yaffs_ramem2k_c_version = "$Id: yaffs_ramem2k.c,v 1.1 2004-12-17 04:
 
 
 
-#define EM_SIZE_IN_MEG 2
+#define EM_SIZE_IN_MEG (32)
 #define PAGE_DATA_SIZE  (2048)
 #define PAGE_SPARE_SIZE (64)
 #define PAGES_PER_BLOCK (64)