cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

dma-mask.c (279B)


      1// SPDX-License-Identifier: GPL-2.0
      2
      3#include <linux/dma-mapping.h>
      4#include <linux/export.h>
      5#include <asm/machdep.h>
      6
      7void arch_dma_set_mask(struct device *dev, u64 dma_mask)
      8{
      9	if (ppc_md.dma_set_mask)
     10		ppc_md.dma_set_mask(dev, dma_mask);
     11}
     12EXPORT_SYMBOL(arch_dma_set_mask);