Re: Small correction for fault.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Thiemo,

On Wed, 3 Jul 2002 10:15:40 +0200
Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> wrote:

> 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 did checkout cvs and I checked also about MIPS64.
There was no problem by my correction.

"arch/mips64/mm/fault.c" is including <linux/sched.h>.
<linux/sched.h> is including <linux/tty.h>.

-Yoichi


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux