swiotlb.h (f43dc23d5ea91fca257be02138a255f02d98e806) swiotlb.h (688ba1dbee8a49a2efe507cd9ae69634d92bb640)
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 *

--- 8 unchanged lines hidden (view full) ---

17
18static inline void dma_mark_clean(void *addr, size_t size) {}
19
20extern unsigned int ppc_swiotlb_enable;
21int __init swiotlb_setup_bus_notifier(void);
22
23extern void pci_dma_dev_setup_swiotlb(struct pci_dev *pdev);
24
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 *

--- 8 unchanged lines hidden (view full) ---

17
18static inline void dma_mark_clean(void *addr, size_t size) {}
19
20extern unsigned int ppc_swiotlb_enable;
21int __init swiotlb_setup_bus_notifier(void);
22
23extern void pci_dma_dev_setup_swiotlb(struct pci_dev *pdev);
24
25#ifdef CONFIG_SWIOTLB
26void swiotlb_detect_4g(void);
27#else
28static inline void swiotlb_detect_4g(void) {}
29#endif
30
25#endif /* __ASM_SWIOTLB_H */
31#endif /* __ASM_SWIOTLB_H */