Re: building mtd: DECLARE_MUTEX?

Nick Ivanter
2000-10-27T09:02:57Z

/include/linux/compatmac.h was introduced in 2.2.16
You shoud get it from there. Once have this done, you
find DECLARE_MUTEX defined.

Nick

Qiuyuan Liu wrote:

> I am trying to build mtd (checked out from the CVS version) on my Red
> Hat Linux 6.2 box (2.2.14).
>
> I can't find where DECLARE_MUTEX is defined, which referenced in
> mtdcore.c (line 89).
>
> Btw, there isn't a file named compatmac.h under /usr/include/linux,
> except the one came with mtd package, which refers to it.
>
> Thank you,
> Qiuyuan
>
> To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org