diff options
| author | Cong Wang <[email protected]> | 2011-11-25 22:08:45 +0800 |
|---|---|---|
| committer | Cong Wang <[email protected]> | 2012-03-20 21:48:13 +0800 |
| commit | 980c19e3f8ca1d5d43cce588059ea78cac27062a (patch) | |
| tree | 35e9bea10a21ba78ba6fa58650c4ee6d18877f41 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | c16fa4f2ad19908a47c63d8fa436a1178438c7e7 (diff) | |
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 <[email protected]>
Cc: Nick Bowler <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions