From: Matthew Wilcox Date: Tue, 16 Jun 2009 22:32:45 +0000 (-0700) Subject: mm: check the argument of kunmap on architectures without highmem X-Git-Tag: v2.6.31-rc1~299^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31c911329e048b715a1dfeaaf617be9430fd7f4e;p=pandora-kernel.git 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 Signed-off-by: Matthew Wilcox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed