2009-05-14 19:42:28 +07:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2009 Becky Bruce, Freescale Semiconductor
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_SWIOTLB_H
|
|
|
|
#define __ASM_SWIOTLB_H
|
|
|
|
|
|
|
|
#include <linux/swiotlb.h>
|
|
|
|
|
|
|
|
extern unsigned int ppc_swiotlb_enable;
|
|
|
|
|
2012-08-03 17:14:10 +07:00
|
|
|
#ifdef CONFIG_SWIOTLB
|
|
|
|
void swiotlb_detect_4g(void);
|
|
|
|
#else
|
|
|
|
static inline void swiotlb_detect_4g(void) {}
|
|
|
|
#endif
|
|
|
|
|
2009-05-14 19:42:28 +07:00
|
|
|
#endif /* __ASM_SWIOTLB_H */
|