summaryrefslogtreecommitdiffstats
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2009-05-10 17:16:06 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-05-10 19:49:52 +0100
commit4c25a2c1b90bf785fc2e2f0f0c74a80b3e070d39 (patch)
tree2784fbbf4d6782db300b92870d2bf6111ef26627 /drivers/pci/quirks.c
parentfa3b6dcd5298db2e7b63c17795c9e5570d3df8d9 (diff)
downloadop-kernel-dev-4c25a2c1b90bf785fc2e2f0f0c74a80b3e070d39.zip
op-kernel-dev-4c25a2c1b90bf785fc2e2f0f0c74a80b3e070d39.tar.gz
intel-iommu: Clean up handling of "caching mode" vs. context flushing.
It really doesn't make a lot of sense to have some of the logic to handle caching vs. non-caching mode duplicated in qi_flush_context() and __iommu_flush_context(), while the return value indicates whether the caller should take other action which depends on the same thing. Especially since qi_flush_context() thought it was returning something entirely different anyway. This patch makes qi_flush_context() and __iommu_flush_context() both return void, removes the 'non_present_entry_flush' argument and makes the only call site which _set_ that argument to 1 do the right thing. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/pci/quirks.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud