bug.h problem occured when updating the mtd driver

zheng wei jeanwelly0614 at hotmail.com
Sat Sep 18 09:20:21 EDT 2004


I am using ARM Linux 2.4.18 in my S3C2410 board, and now I download a new 
released MTD driver, and use patchin.sh to patch mtd.
But when I make zImage, error found, saying cannot found bug.h file...
some body told me to add the bug.h manually,
vi bug.h
#define BUG_ON(X)
#define unlikely(X) (X)

but it cannot work when make zImage, how can I make the new mtd work in my 
current ARM Linux version.

Thanks a lot!






More information about the linux-mtd mailing list