aboutsummaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorGravatar Cong Wang <amwang@redhat.com> 2011-11-25 22:08:45 +0800
committerGravatar Cong Wang <xiyou.wangcong@gmail.com> 2012-03-20 21:48:13 +0800
commit980c19e3f8ca1d5d43cce588059ea78cac27062a (patch)
tree35e9bea10a21ba78ba6fa58650c4ee6d18877f41 /virt
parentLinux 3.3 (diff)
downloadlinux-980c19e3f8ca1d5d43cce588059ea78cac27062a.tar.gz
linux-980c19e3f8ca1d5d43cce588059ea78cac27062a.tar.bz2
linux-980c19e3f8ca1d5d43cce588059ea78cac27062a.zip
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 <cesarb@cesarb.net> Cc: Nick Bowler <nbowler@elliptictech.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions