Problem in patching to 2.2.13

Kim Sang Hun shkim at dsp.snu.ac.kr
Wed Oct 31 02:49:35 EST 2001


I patched my kernel2.2.13 different way...

Before...
2.2.13 does not have "/linux/include/linux/compatmac.h", so I copied this
file form 2.4.x

After....
New way... 
I found that, /linux/inlcude/linux/mtd/compatmac.h was wrong in some
where.
kernel 2.2.13 does not have compatmac.h at /linux/include/linux/, but
MTD's compatmac.h include this file...

so, add some parameter
typedef struct wait_queue * wait_queue_head_t;
#define DECLARE_WAITQUEUE(x,y) struct wait_queue x = {y,NULL}
#define DECLARE_WAIT_QUEUE_HEAD(x) struct wait_queue *x = NULL
#define init_waitqueue_head init_waitqueue
#define DECLARE_MUTEX(x) struct semaphore x = MUTEX;

MTD 2.2.13 must include above 5 line....

is it wrong?

and...


Please tell me, Why my mtdblock0 does not work...(could not find
request_fn)
.....

If possible, Please upload screen capture about "JFFS on NAND".... 

######################################
Sang-Hun , Kim
Multimedia Systems Lab. SNU
School of EE. Seoul National Univ.
E-Mail : shkim at fdma.snu.ac.kr
Http://fdma.snu.ac.kr/~shkim
HP : 017-398-6203
######################################






More information about the linux-mtd mailing list