iommu: dmar: Provide helper to copy shared irte fields
authorThomas Gleixner <tglx@linutronix.de>
Tue, 9 Jun 2015 05:20:30 +0000 (13:20 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 12 Jun 2015 09:33:52 +0000 (11:33 +0200)
commitbf56027ff4d9e75bf668ae990fe6204d00a23002
tree010c7dd60d8f33ea248185589fd0916760f171be
parent3bf17472226b0041b0c61363bd57a5cadbe620c4
iommu: dmar: Provide helper to copy shared irte fields

Instead of open coding, provide a helper function to copy the shared
irte fields.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: jiang.liu@linux.intel.com
Cc: iommu@lists.linux-foundation.org
Cc: joro@8bytes.org
Cc: dwmw2@infradead.org
Link: http://lkml.kernel.org/r/1433827237-3382-4-git-send-email-feng.wu@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/dmar.h