mirror of https://gitee.com/openkylin/linux.git
13 lines
279 B
C
13 lines
279 B
C
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
|
||
|
#include <linux/dma-mapping.h>
|
||
|
#include <linux/export.h>
|
||
|
#include <asm/machdep.h>
|
||
|
|
||
|
void arch_dma_set_mask(struct device *dev, u64 dma_mask)
|
||
|
{
|
||
|
if (ppc_md.dma_set_mask)
|
||
|
ppc_md.dma_set_mask(dev, dma_mask);
|
||
|
}
|
||
|
EXPORT_SYMBOL(arch_dma_set_mask);
|