]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tracing/events: Fix swiotlb tracepoint creation
authorThierry Reding <treding@nvidia.com>
Wed, 23 Oct 2013 11:21:52 +0000 (13:21 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 24 Oct 2013 13:03:00 +0000 (15:03 +0200)
commit2843be343a987e264c40c67729c8acf46f19b098
tree1be35b64ca1dd69fad728762112ac4d20467c034
parentaa99c2ee7e33ffe191fbb9780c6e219d8caa766d
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>
drivers/xen/swiotlb-xen.c
lib/swiotlb.c