Merge drm/drm-next into drm-misc-next
[linux-2.6-block.git] / arch / powerpc / include / asm / swiotlb.h
CommitLineData
ec3cf2ec
BB
1/*
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
a37a3710 16extern const struct dma_map_ops powerpc_swiotlb_dma_ops;
ec3cf2ec 17
ec3cf2ec
BB
18extern unsigned int ppc_swiotlb_enable;
19int __init swiotlb_setup_bus_notifier(void);
20
762afb73
FT
21extern void pci_dma_dev_setup_swiotlb(struct pci_dev *pdev);
22
688ba1db
JH
23#ifdef CONFIG_SWIOTLB
24void swiotlb_detect_4g(void);
25#else
26static inline void swiotlb_detect_4g(void) {}
27#endif
28
ec3cf2ec 29#endif /* __ASM_SWIOTLB_H */