diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2013-10-23 11:32:04 (GMT) |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-10-24 14:37:06 (GMT) |
commit | ce5be5a16359962f78f0203f0ed7ad6d489492ab (patch) | |
tree | a8aa1e7586e50e9901b6ddfc628b4dc962ae0101 /drivers/xen | |
parent | 2b2b614dd24e4e6474fcf2dcf69c95c908838959 (diff) | |
download | linux-ce5be5a16359962f78f0203f0ed7ad6d489492ab.tar.xz |
tracing/events: Fix swiotlb tracepoint creation
Tracepoints are only created when Xen support is enabled, but they are
also referenced within lib/swiotlb.c. So unless Xen support is enabled
the tracepoints will be missing, therefore causing builds to fail. Fix
this by moving the tracepoint creation to lib/swiotlb.c, which works
nicely because the Xen swiotlb support selects the generic swiotlb
support.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/swiotlb-xen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c index b310810..44af9d8 100644 --- a/drivers/xen/swiotlb-xen.c +++ b/drivers/xen/swiotlb-xen.c @@ -43,7 +43,6 @@ #include <xen/xen-ops.h> #include <xen/hvc-console.h> -#define CREATE_TRACE_POINTS #include <trace/events/swiotlb.h> /* * Used to do a quick range check in swiotlb_tbl_unmap_single and |