commit | 43c0ea20de4de8e2d753dff0e76129c4febafffa | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Tue Nov 17 16:11:37 2015 +0100 |
committer | Joerg Roedel <jroedel@suse.de> | Mon Dec 14 15:39:34 2015 +0100 |
tree | 19e529231c3ccca18b823329f72f5bcfb1529880 | |
parent | 7f8312a3b31de5676144d9e75f2f2647c8b4b769 [diff] |
iommu/amd: Correctly set flags for handle_mm_fault call Instead of just checking for a write access, calculate the flags that are passed to handle_mm_fault() more precisly and use the pre-defined macros. Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Acked-By: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>