Path: blob/master/arch/x86/include/asm/amd_iommu.h
10821 views
/*1* Copyright (C) 2007-2010 Advanced Micro Devices, Inc.2* Author: Joerg Roedel <[email protected]>3* Leo Duran <[email protected]>4*5* This program is free software; you can redistribute it and/or modify it6* under the terms of the GNU General Public License version 2 as published7* by the Free Software Foundation.8*9* This program is distributed in the hope that it will be useful,10* but WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12* GNU General Public License for more details.13*14* You should have received a copy of the GNU General Public License15* along with this program; if not, write to the Free Software16* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA17*/1819#ifndef _ASM_X86_AMD_IOMMU_H20#define _ASM_X86_AMD_IOMMU_H2122#include <linux/irqreturn.h>2324#ifdef CONFIG_AMD_IOMMU2526extern int amd_iommu_detect(void);2728#else2930static inline int amd_iommu_detect(void) { return -ENODEV; }3132#endif3334#endif /* _ASM_X86_AMD_IOMMU_H */353637