1 /* SPDX-License-Identifier: GPL-2.0-only */
2 #ifndef __ASM_GENERIC_IOCAP_H__
3 #define __ASM_GENERIC_IOCAP_H__
4 
5 #define has_arch_io_resources(d)                        \
6     (!rangeset_is_empty((d)->iomem_caps))
7 
8 #define cache_flush_permitted has_arch_io_resources
9 
10 #endif /* __ASM_GENERIC_IOCAP_H__ */
11 
12 /*
13  * Local variables:
14  * mode: C
15  * c-file-style: "BSD"
16  * c-basic-offset: 4
17  * indent-tabs-mode: nil
18  * End:
19  */
20