From: Cong Wang Date: Fri, 25 Nov 2011 14:08:45 +0000 (+0800) Subject: highmem: mark k[un]map_atomic() with two arguments as deprecated X-Git-Tag: v3.4-rc1~174^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=980c19e3f8ca1d5d43cce588059ea78cac27062a;p=pandora-kernel.git highmem: mark k[un]map_atomic() with two arguments as deprecated For backward compatibility, we still keep the deprecated form, and will warn the users if they still use the deprecated one, like this: drivers/block/drbd/drbd_bitmap.c: In function ‘bm_page_io_async’: drivers/block/drbd/drbd_bitmap.c:973:3: warning: ‘kmap_atomic_deprecated’ is deprecated (declared at /home/wangcong/linux-2.6/include/linux/highmem.h:124) drivers/block/drbd/drbd_bitmap.c:977:3: warning: ‘kunmap_atomic_deprecated’ is deprecated (declared at /home/wangcong/linux-2.6/include/linux/highmem.h:144) Thanks to Nick Bowler for the cpp trick! Cc: Cesar Eduardo Barros Cc: Nick Bowler Cc: Peter Zijlstra Signed-off-by: Cong Wang --- Reading git-diff-tree failed