Thank you!
I defined the two external variables in linux/mm.h(2.4.22),they are fault_pages and mapped _pages.
And I used the former in do_page_fault() and the later in do_mmap() to count.
Then I wanted to use them in my system call in asm/i386/mm/fault.c, so I hadn't written code except for the two defining, which is the cause of the errors after implementing "make bzImage" .
I can't define external variables in the kernel file as I do in ordinary C program, can I?
Thank you!
|