direct-io.hg

view linux-2.6-xen-sparse/include/xen/features.h @ 8706:fd9b2c1bb577

Update linux sparse tree to subarch layout.
Sparse tree is based on 2.6.12 branch of linux-2.6-xen.hg.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Mon Jan 30 17:18:27 2006 +0000 (2006-01-30)
parents linux-2.6-xen-sparse/include/asm-xen/features.h@a0a59beb6596
children 0e87a5bd6e8b
line source
1 /******************************************************************************
2 * features.h
3 *
4 * Query the features reported by Xen.
5 *
6 * Copyright (c) 2006, Ian Campbell
7 */
9 #ifndef __ASM_XEN_FEATURES_H__
10 #define __ASM_XEN_FEATURES_H__
12 #include <xen/interface/version.h>
14 extern void setup_xen_features(void);
16 extern unsigned long xen_features[XENFEAT_NR_SUBMAPS];
18 #define xen_feature(flag) (test_bit(flag, xen_features))
20 #endif /* __ASM_XEN_FEATURES_H__ */