diff options
| author | Matthew Wilcox <[email protected]> | 2009-06-16 15:32:45 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-06-16 19:47:41 -0700 |
| commit | 31c911329e048b715a1dfeaaf617be9430fd7f4e (patch) | |
| tree | a8eca5337528c21ab54ae5ad152d04a471b906cf /tools/perf/scripts/python | |
| parent | 69c854817566db82c362797b4a6521d0b00fe1d8 (diff) | |
mm: check the argument of kunmap on architectures without highmem
If you're using a non-highmem architecture, passing an argument with the
wrong type to kunmap() doesn't give you a warning because the ifdef
doesn't check the type.
Using a static inline function solves the problem nicely.
Reported-by: David Woodhouse <[email protected]>
Signed-off-by: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions