Blame view
include/linux/amd-iommu.h
1.04 KB
c6da992e1 x86, AMD IOMMU: a... |
1 |
/* |
5d0d71569 x86/amd-iommu: Up... |
2 |
* Copyright (C) 2007-2010 Advanced Micro Devices, Inc. |
c6da992e1 x86, AMD IOMMU: a... |
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
* Author: Joerg Roedel <joerg.roedel@amd.com> * Leo Duran <leo.duran@amd.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ |
1965aae3c x86: Fix ASM_X86_... |
19 20 |
#ifndef _ASM_X86_AMD_IOMMU_H #define _ASM_X86_AMD_IOMMU_H |
c6da992e1 x86, AMD IOMMU: a... |
21 |
|
a80dc3e0e AMD IOMMU: add MS... |
22 |
#include <linux/irqreturn.h> |
c6da992e1 x86, AMD IOMMU: a... |
23 24 |
#ifdef CONFIG_AMD_IOMMU |
6a9401a7a x86/amd-iommu: Se... |
25 |
|
480125ba4 x86, iommu: Make ... |
26 |
extern int amd_iommu_detect(void); |
6a9401a7a x86/amd-iommu: Se... |
27 |
|
c6da992e1 x86, AMD IOMMU: a... |
28 |
#else |
6a9401a7a x86/amd-iommu: Se... |
29 |
|
480125ba4 x86, iommu: Make ... |
30 |
static inline int amd_iommu_detect(void) { return -ENODEV; } |
6a9401a7a x86/amd-iommu: Se... |
31 |
|
c6da992e1 x86, AMD IOMMU: a... |
32 |
#endif |
1965aae3c x86: Fix ASM_X86_... |
33 |
#endif /* _ASM_X86_AMD_IOMMU_H */ |