swiotlb: Convert swiotlb_force from int to enum
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 16 Dec 2016 13:28:41 +0000 (14:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jan 2017 07:24:44 +0000 (08:24 +0100)
commit1fd1e6cd63143cf5d198a536d875dfc88ce179bc
tree7a90a6aa9b9593f183827fe2cd67206b1395acdd
parent776c2b2d165dc64397f3f9b39839920a08578e8f
swiotlb: Convert swiotlb_force from int to enum

commit ae7871be189cb41184f1e05742b4a99e2c59774d upstream.

Convert the flag swiotlb_force from an int to an enum, to prepare for
the advent of more possible values.

Suggested-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/mm/dma-mapping.c
arch/arm64/mm/init.c
arch/x86/kernel/pci-swiotlb.c
arch/x86/xen/pci-swiotlb-xen.c
drivers/xen/swiotlb-xen.c
include/linux/swiotlb.h
include/trace/events/swiotlb.h
lib/swiotlb.c