Linux Audio

Check our new training course

Loading...
v6.9.4
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * Copyright (C) 2009 Becky Bruce, Freescale Semiconductor
 4 */
 5
 6#ifndef __ASM_SWIOTLB_H
 7#define __ASM_SWIOTLB_H
 8
 9#include <linux/swiotlb.h>
10
11extern unsigned int ppc_swiotlb_enable;
12extern unsigned int ppc_swiotlb_flags;
13
14#ifdef CONFIG_SWIOTLB
15void swiotlb_detect_4g(void);
16#else
17static inline void swiotlb_detect_4g(void) {}
18#endif
19
20#endif /* __ASM_SWIOTLB_H */
v6.8
 1/* SPDX-License-Identifier: GPL-2.0-or-later */
 2/*
 3 * Copyright (C) 2009 Becky Bruce, Freescale Semiconductor
 4 */
 5
 6#ifndef __ASM_SWIOTLB_H
 7#define __ASM_SWIOTLB_H
 8
 9#include <linux/swiotlb.h>
10
11extern unsigned int ppc_swiotlb_enable;
12extern unsigned int ppc_swiotlb_flags;
13
14#ifdef CONFIG_SWIOTLB
15void swiotlb_detect_4g(void);
16#else
17static inline void swiotlb_detect_4g(void) {}
18#endif
19
20#endif /* __ASM_SWIOTLB_H */