direct-io.hg

view linux-2.6-xen-sparse/include/xen/features.h @ 13973:c4ed5b740a8d

linux: remove {lock,unlock}_vm_area(). Instead use vmalloc_sync_all()
in alloc_vm_area().
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Feb 16 11:24:10 2007 +0000 (2007-02-16)
parents 0e87a5bd6e8b
children
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 u8 xen_features[XENFEAT_NR_SUBMAPS * 32];
18 #define xen_feature(flag) (xen_features[flag])
20 #endif /* __ASM_XEN_FEATURES_H__ */