linux-mips
[Top] [All Lists]

Re: Small correction for fault.c

To: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Subject: Re: Small correction for fault.c
From: Yoichi Yuasa <yoichi_yuasa@montavista.co.jp>
Date: Wed, 3 Jul 2002 18:16:51 +0900
Cc: yoichi_yuasa@montavista.co.jp, linux-mips@oss.sgi.com
In-reply-to: <20020703081539.GU16753@rembrandt.csv.ica.uni-stuttgart.de>
Organization: MontaVista Software Japan Inc.
References: <20020703144404.4d349037.yoichi_yuasa@montavista.co.jp> <20020703081539.GU16753@rembrandt.csv.ica.uni-stuttgart.de>
Sender: owner-linux-mips@oss.sgi.com
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


<Prev in Thread] Current Thread [Next in Thread>