RE: [RFC PATCH 0/2] Fix linux/swap.h build wart

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeff Dike <jdike@...>, LKML <linux-kernel@...>, <linux-fsdevel@...>, <linux-arch@...>
Date: Friday, October 26, 2007 - 4:38 pm

> These patches propose to break the recursion instead by removing the

Not fundamental reasons, but these patches break the ia64 build for most
configs with:

In file included from kernel/futex.c:59:
include/asm/futex.h: In function `futex_atomic_op_inuser':
include/asm/futex.h:62: error: implicit declaration of function `pagefault_disable'
include/asm/futex.h:86: error: implicit declaration of function `pagefault_enable'
make[1]: *** [kernel/futex.o] Error 1

Adding an include of <linux/uaccess.h> to kernel/futex.c is sufficient (but
not necessarily right) to unbreak this.

A few configs also fail with:
mm/migrate.c: In function `migrate_page_copy':
mm/migrate.c:359: error: implicit declaration of function `copy_highpage'
make[1]: *** [mm/migrate.o] Error 1

Making mm/migrate.c include <linux/highmem.h> fixes this one.

-Tony
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 0/2] Fix linux/swap.h build wart, Jeff Dike, (Fri Oct 26, 3:25 pm)
RE: [RFC PATCH 0/2] Fix linux/swap.h build wart, Luck, Tony, (Fri Oct 26, 4:38 pm)
Re: [RFC PATCH 0/2] Fix linux/swap.h build wart, Jeff Dike, (Fri Oct 26, 5:49 pm)