From: John David Anglin Date: Tue, 23 Apr 2013 00:23:50 +0000 (+0000) Subject: parisc: Change kunmap macro to static inline function X-Git-Tag: v3.9~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87be2f88b24ad1f206a5c87529ff406e96c95a12;p=pandora-kernel.git parisc: Change kunmap macro to static inline function Change kunmap macro to static inline function to fix build error compiling drivers/base/dma-buf.c. Without the change, the following error can occur: CC drivers/base/dma-buf.o drivers/base/dma-buf.c: In function 'dma_buf_kunmap': drivers/base/dma-buf.c:427:46: error: macro "kunmap" passed 3 arguments, but takes just 1 I believe parisc is the only arch to implement kunmap using a macro. Signed-off-by: John David Anglin Cc: "James E.J. Bottomley" Cc: Helge Deller Signed-off-by: Helge Deller --- Reading git-diff-tree failed