x86/irq: Check for valid irq descriptor in check_irq_vectors_for_cpu_disable()
[linux/fpc-iii.git] / include / xen / features.h
blob27292d4d2a6a476769366767ed0a084428e46ccc
1 /******************************************************************************
2 * features.h
4 * Query the features reported by Xen.
6 * Copyright (c) 2006, Ian Campbell
7 */
9 #ifndef __XEN_FEATURES_H__
10 #define __XEN_FEATURES_H__
12 #include <xen/interface/features.h>
14 void xen_setup_features(void);
16 extern u8 xen_features[XENFEAT_NR_SUBMAPS * 32];
18 static inline int xen_feature(int flag)
20 return xen_features[flag];
23 #endif /* __ASM_XEN_FEATURES_H__ */