linux-mips-fnet
[Top] [All Lists]

Re: Kernel Compile fails on Indigo2

To: Klaus Naumann <spock@mgnet.de>
Subject: Re: Kernel Compile fails on Indigo2
From: Ralf Baechle <ralf@uni-koblenz.de>
Date: Thu, 27 Apr 2000 16:08:07 -0700
Cc: "cthulhu <linux@cthulhu.engr.sgi.com>; MIPS\"" <linux-mips@fnet.fr>
In-reply-to: <200004272018.WAA01841@sunnyboy.informatik.tu-chemnitz.de>; from spock@mgnet.de on Thu, Apr 27, 2000 at 10:18:55PM +0200
References: <200004272018.WAA01841@sunnyboy.informatik.tu-chemnitz.de>
On Thu, Apr 27, 2000 at 10:18:55PM +0200, Klaus Naumann wrote:

> I'm having trouble compiling the current cvs kernel on my Indigo2
> I remember a CVS commit which statet that Ralf did change something in
> that file.
> Here's the problem:
> 
> gcc -D__KERNEL__ -I/mipslinux/kernel23/linux.build/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic
> -mcpu=r4600 -mips2 -pipe    -c -o shmiq.o shmiq.c
> shmiq.c: In function `qcntl_ioctl':
> shmiq.c:289: structure has no member named `mmap_sem'
> shmiq.c:292: structure has no member named `mmap_sem'

Sorry, silly bug.  Change current->mmap_sem against current->mm->mmap_sem
in both lines.

  Ralf

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