blob: 31e0e43c880d2b39ef9c7cf4ded989b9c22e20f5 [file] [log] [blame]
Becky Bruceec3cf2e2009-05-14 12:42:28 +00001/*
2 * Copyright (C) 2009 Becky Bruce, Freescale Semiconductor
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 */
10
11#ifndef __ASM_SWIOTLB_H
12#define __ASM_SWIOTLB_H
13
14#include <linux/swiotlb.h>
15
16extern struct dma_mapping_ops swiotlb_dma_ops;
17extern struct dma_mapping_ops swiotlb_pci_dma_ops;
18
Becky Bruceec3cf2e2009-05-14 12:42:28 +000019static inline void dma_mark_clean(void *addr, size_t size) {}
20
21extern unsigned int ppc_swiotlb_enable;
22int __init swiotlb_setup_bus_notifier(void);
23
FUJITA Tomonori762afb72009-08-04 19:08:22 +000024extern void pci_dma_dev_setup_swiotlb(struct pci_dev *pdev);
25
Becky Bruceec3cf2e2009-05-14 12:42:28 +000026#endif /* __ASM_SWIOTLB_H */