iommu/vt-d: Relocate struct/function declarations to its header files
authorSohil Mehta <sohil.mehta@intel.com>
Wed, 12 Sep 2018 00:11:36 +0000 (17:11 -0700)
committerJoerg Roedel <jroedel@suse.de>
Tue, 25 Sep 2018 12:33:43 +0000 (14:33 +0200)
commit26b86092c4650311256fa2372ced7e1e17d97d7b
tree14ae307c6ba6ac7abeccd278eedaf0cdb4c2968f
parent6bf4ca7fbc85d80446ac01c0d1d77db4d91a6d84
iommu/vt-d: Relocate struct/function declarations to its header files

To reuse the static functions and the struct declarations, move them to
corresponding header files and export the needed functions.

Cc: Lu Baolu <baolu.lu@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
arch/x86/include/asm/irq_remapping.h
drivers/iommu/intel-iommu.c
drivers/iommu/intel_irq_remapping.c
include/linux/intel-iommu.h