backports: simplify swiotlb_nr_tbl() backport
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Fri, 19 Jul 2013 02:53:01 +0000 (02:53 +0000)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Fri, 19 Jul 2013 22:05:32 +0000 (15:05 -0700)
commitce08ade9175edf03f29d98a9407bcc6b093dbead
tree1f29e712c88430cfe6da74fc2925d5e4e28a37b5
parente2d5a26742e025ec4e24129c132589ec3b491eb4
backports: simplify swiotlb_nr_tbl() backport

swiotlb_nr_tbl() was available since 3.2 but was exported since 3.3.
Since it uses an internal global state variable, it is impossible
to backport it to. Instead of reverting the changes added just
let this return 0 as the code will not do anything. This simplifies
the backport.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backport/backport-include/linux/swiotlb.h [new file with mode: 0644]
patches/collateral-evolutions/drm/03-swiotlb/INFO [deleted file]
patches/collateral-evolutions/drm/03-swiotlb/drivers_gpu_drm_nouveau_nouveau_bo.patch [deleted file]
patches/collateral-evolutions/drm/03-swiotlb/drivers_gpu_drm_radeon_radeon_ttm.patch [deleted file]