repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
20 lines
374 B
C
20 lines
374 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2009 Becky Bruce, Freescale Semiconductor
|
|
*/
|
|
|
|
#ifndef __ASM_SWIOTLB_H
|
|
#define __ASM_SWIOTLB_H
|
|
|
|
#include <linux/swiotlb.h>
|
|
|
|
extern unsigned int ppc_swiotlb_enable;
|
|
|
|
#ifdef CONFIG_SWIOTLB
|
|
void swiotlb_detect_4g(void);
|
|
#else
|
|
static inline void swiotlb_detect_4g(void) {}
|
|
#endif
|
|
|
|
#endif /* __ASM_SWIOTLB_H */
|