]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
tracing/events: Fix swiotlb tracepoint creation
authorThierry Reding <thierry.reding@gmail.com>
Wed, 23 Oct 2013 11:32:04 +0000 (13:32 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 24 Oct 2013 14:37:06 +0000 (10:37 -0400)
commitce5be5a16359962f78f0203f0ed7ad6d489492ab
treea8aa1e7586e50e9901b6ddfc628b4dc962ae0101
parent2b2b614dd24e4e6474fcf2dcf69c95c908838959
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>
drivers/xen/swiotlb-xen.c
lib/swiotlb.c