summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/include/linux/dma-mapping.h
blob: 7b3d77a52bf5deef6be91c89f5a8b1a2fca1e6bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* Public domain. */

#ifndef _LINUX_DMA_MAPPING_H
#define _LINUX_DMA_MAPPING_H

#include <linux/sizes.h>

#define DMA_BIT_MASK(n)	(((n) == 64) ? ~0ULL : (1ULL<<(n)) -1)

#define dma_set_coherent_mask(x, y)	0

#endif