lkml.org 
[lkml]   [1999]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: compile error, ppatch 2.3.25-1
On Thu, Oct 28, 1999 at 08:18:27PM -0700, Leiden, Soren wrote:
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer
> -fno-strict-aliasing -pipe -fno-strength-reduce -DCPU=686
> -march=i686 -DEXPORT_SYMTAB -c fbmem.c
> fbmem.c: In function `fb_mmap':
> fbmem.c:508: structure has no member named `vm_offset'
....

Sure, replace with:

unsigned long vm_pgoff; /* offset in PAGE_SIZE units, *not* PAGE_CACHE_SIZE */

and apply " << PAGE_SHIFT ", if appropriate.

When you get it working, send a patch to linux-kernel.

> Soren

/Matti Aarnio <matti.aarnio@sonera.fi>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.027 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site