lkml.org 
[lkml]   [1998]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Error compiling 2.1.113
On Mon, 3 Aug 1998, Colin Coe wrote:

[snip]
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.113/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce
> -m486 -DCPU=486 -c -o fault.o fault.c
> fault.c: In function `do_page_fault':
> fault.c:105: `local_bh_count' undeclared (first use this function)
[snip]

I added this to asm/hardirq.h (stolen from softirq.h)

extern unsigned int local_bh_count[NR_CPUS];

I can't say if this is exactly the right spot for it or if there is a
better way of doing this but it works for me :)

Cheers,

--Craig


-
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.altern.org/andrebalsa/doc/lkml-faq.html

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