/*1* irq.h: In-kernel interrupt controller related definitions2* Copyright (c) 2008, Intel Corporation.3*4* This program is free software; you can redistribute it and/or modify it5* under the terms and conditions of the GNU General Public License,6* version 2, as published by the Free Software Foundation.7*8* This program is distributed in the hope it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for11* more details.12*13* You should have received a copy of the GNU General Public License along with14* this program; if not, write to the Free Software Foundation, Inc., 59 Temple15* Place - Suite 330, Boston, MA 02111-1307 USA.16*17* Authors:18* Xiantao Zhang <[email protected]>19*20*/2122#ifndef __IRQ_H23#define __IRQ_H2425#include "lapic.h"2627static inline int irqchip_in_kernel(struct kvm *kvm)28{29return 1;30}3132#endif333435