Patches to compile on redhat 6.2 with downloaded kernel src

Mark Jackson mdj at phoenix.bmedesign.com
Tue Aug 15 15:20:38 EDT 2000


I was able to get the mtd version in cvs to compile on my RedHat 6.2 box
against the linux-2.2.13.tar.gz linux kernel tarball source with the
following patches applied (cvs diff 8/15/2000)

Regards,

Mark


? file
Index: include/linux/mtd/compatmac.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/compatmac.h,v
retrieving revision 1.5
diff -r1.5 compatmac.h
20c20
< #include <linux/compatmac.h>
---
> //#include <linux/compatmac.h>
Index: include/linux/mtd/flashchip.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/flashchip.h,v
retrieving revision 1.6
diff -r1.6 flashchip.h
21a22,23
> #define wait_queue_head_t struct wait_queue *
> 
Index: kernel/cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/kernel/cfi_cmdset_0001.c,v
retrieving revision 1.31
diff -r1.31 cfi_cmdset_0001.c
26a27,28
> #define DECLARE_WAITQUEUE(name,task) struct wait_queue (name) = {(task),NULL}
> 
Index: kernel/cfi_cmdset_0002.c
===================================================================
RCS file: /home/cvs/mtd/kernel/cfi_cmdset_0002.c,v
retrieving revision 1.5
diff -r1.5 cfi_cmdset_0002.c
31a32,33
> #define DECLARE_WAITQUEUE(name,task) struct wait_queue (name) = {(task),NULL}
> 
Index: kernel/doc1000.c
===================================================================
RCS file: /home/cvs/mtd/kernel/doc1000.c,v
retrieving revision 1.8
diff -r1.8 doc1000.c
38a39,40
> #define wait_queue_head_t struct wait_queue *
> 
Index: kernel/mtdchar.c
===================================================================
RCS file: /home/cvs/mtd/kernel/mtdchar.c,v
retrieving revision 1.8
diff -r1.8 mtdchar.c
15a16,18
> #define wait_queue_head_t struct wait_queue *
> #define DECLARE_WAITQUEUE(name,task) struct wait_queue (name) = {(task),NULL}
> 
Index: kernel/mtdcore.c
===================================================================
RCS file: /home/cvs/mtd/kernel/mtdcore.c,v
retrieving revision 1.14
diff -r1.14 mtdcore.c
89a90
> #define DECLARE_MUTEX(name) struct semaphore (name) = MUTEX

--
Mark Jackson
Senior Engineer
BME Design, LLC.
724 Whalers Way Bldg H Suite 200
Ft. Collins, CO 80525
Phone: (970) 377-4134
email mdj at phoenix.bmedesign.com

-- The ideas expressed in this email do not necessarily reflect those
of my employer.  Come to think of it, they don't really reflect mine 
either!




To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list