X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_ramem2k.c;h=f32afe5794899e621fe9a2f7cba20295793cd74c;hp=2c113dbdba37db3c8c06b00a00572081e736d2e6;hb=3e2677dfc7a44cfed8dd8bd571916a3c75ce3373;hpb=37fd9ec3587b5c4d497a7682522a9adfab682e51 diff --git a/yaffs_ramem2k.c b/yaffs_ramem2k.c index 2c113db..f32afe5 100644 --- a/yaffs_ramem2k.c +++ b/yaffs_ramem2k.c @@ -15,10 +15,12 @@ //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 #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)