Re: [PATCH] highmem: fix missed kmap_atomic update in arch/arm/include/asm/highmem.h

From: Cong Wang
Date: Wed Dec 07 2011 - 04:42:11 EST


ä 2011å12æ07æ 17:35, Uwe Kleine-KÃnig åé:
On Wed, Dec 07, 2011 at 05:21:59PM +0800, Axel Lin wrote:
commit 37bfbb "highmem: kill all __kmap_atomic()" missed the update to
arch/arm/include/asm/highmem.h.

This patch fixes below build error:
CC init/main.o
In file included from include/linux/pagemap.h:10,
from include/linux/mempolicy.h:70,
from init/main.c:49:
include/linux/highmem.h: In function 'kmap_atomic_deprecated':
include/linux/highmem.h:127: error: implicit declaration of function 'kmap_atomic'
include/linux/highmem.h:127: warning: return makes pointer from integer without a cast
include/linux/highmem.h: In function 'clear_highpage':
include/linux/highmem.h:218: warning: initialization makes pointer from integer without a cast
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:227: warning: initialization makes pointer from integer without a cast
include/linux/highmem.h: In function 'copy_highpage':
include/linux/highmem.h:279: warning: assignment makes pointer from integer without a cast
include/linux/highmem.h:280: warning: assignment makes pointer from integer without a cast
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
Already reported and fixed, see

http://thread.gmane.org/gmane.linux.kernel/1225278


Yeah, sorry for this.

I have squashed Stephen's patch into my tree. Thanks for your patch anyway, Axel!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/