Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Copyright (C) 2009 Becky Bruce, Freescale Semiconductor
0004  */
0005 
0006 #ifndef __ASM_SWIOTLB_H
0007 #define __ASM_SWIOTLB_H
0008 
0009 #include <linux/swiotlb.h>
0010 
0011 extern unsigned int ppc_swiotlb_enable;
0012 extern unsigned int ppc_swiotlb_flags;
0013 
0014 #ifdef CONFIG_SWIOTLB
0015 void swiotlb_detect_4g(void);
0016 #else
0017 static inline void swiotlb_detect_4g(void) {}
0018 #endif
0019 
0020 #endif /* __ASM_SWIOTLB_H */