Yoichi Yuasa wrote: > Hi, > > I found a include file required for "arch/mips/mm/fault.c". > This is for unblank_screen(). > > --- linux.orig/arch/mips/mm/fault.c Thu Jun 27 14:14:14 2002 > +++ linux/arch/mips/mm/fault.c Wed Jul 3 14:37:03 2002 > @@ -19,6 +19,7 @@ > #include <linux/smp.h> > #include <linux/smp_lock.h> > #include <linux/version.h> > +#include <linux/vt_kern.h> For MIPS64 this fails (MAX_NR_CONSOLES is defined in linux/tty.h): In file included from fault.c:23: /bigdisk/combined/source-linux/include/linux/vt_kern.h:32: error: MAX_NR_CONSOLES' undeclared here (not in a function) I would prefer the patch below. Thiemo diff -BurpNX /bigdisk/src/dontdiff source-linux-orig/arch/mips/mm/fault.c source-linux/arch/mips/mm/fault.c --- source-linux-orig/arch/mips/mm/fault.c Sat Jun 1 22:41:25 2002 +++ source-linux/arch/mips/mm/fault.c Wed Jul 3 10:13:26 2002 @@ -44,6 +44,8 @@ extern spinlock_t timerlist_lock; */ void bust_spinlocks(int yes) { + extern void unblank_screen(void); + spin_lock_init(&timerlist_lock); if (yes) { oops_in_progress = 1; diff -BurpNX /bigdisk/src/dontdiff source-linux-orig/arch/mips64/mm/fault.c source-linux/arch/mips64/mm/fault.c --- source-linux-orig/arch/mips64/mm/fault.c Mon Jul 1 12:05:04 2002 +++ source-linux/arch/mips64/mm/fault.c Wed Jul 3 10:13:26 2002 @@ -66,6 +66,8 @@ extern spinlock_t timerlist_lock; */ void bust_spinlocks(int yes) { + extern void unblank_screen(void); + spin_lock_init(&timerlist_lock); if (yes) { oops_in_progress = 1;