[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] blktap2: Fix non-Linux build
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1265378240 0 # Node ID b60379dad533b68fcd28d4c77fd3c40aec59a37c # Parent 989014ce7b4a92717aece2c44646158b91d9449b blktap2: Fix non-Linux build Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx> Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- tools/blktap2/drivers/tapdisk-queue.c | 4 ++++ 1 files changed, 4 insertions(+) diff -r 989014ce7b4a -r b60379dad533 tools/blktap2/drivers/tapdisk-queue.c --- a/tools/blktap2/drivers/tapdisk-queue.c Fri Feb 05 10:37:24 2010 +0000 +++ b/tools/blktap2/drivers/tapdisk-queue.c Fri Feb 05 13:57:20 2010 +0000 @@ -287,7 +287,11 @@ static int static int tapdisk_lio_check_resfd(void) { +#if defined(__linux__) return tapdisk_linux_version() >= KERNEL_VERSION(2, 6, 22); +#else + return 1; +#endif } static void _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |