diff options
author | John David Anglin <[email protected]> | 2013-04-23 00:23:50 +0000 |
---|---|---|
committer | Helge Deller <[email protected]> | 2013-04-25 22:36:31 +0200 |
commit | 87be2f88b24ad1f206a5c87529ff406e96c95a12 (patch) | |
tree | 4450fb1965c3254e00397615dff94b4069b72e7d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ca0ad83da17b6ba07f9eb5902e69daac90c4fa61 (diff) |
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 <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: Helge Deller <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions