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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 19 Dec 2016 14:05:20 +0000 (09:05 -0500)
commitae7871be189cb41184f1e05742b4a99e2c59774d
tree153af0699fabd19f238d80917ff1b18cac6bcc87
parent6c206e4d99f2ed2a5a59875858e3beecc69b6474
swiotlb: Convert swiotlb_force from int to enum

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>
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