ia64/xen-unstable

view xen/arch/x86/x86_32/machine_kexec.c @ 19835:edfdeb150f27

Fix buildsystem to detect udev > version 124

udev removed the udevinfo symlink from versions higher than 123 and
xen's build-system could not detect if udev is in place and has the
required version.

Signed-off-by: Marc-A. Dahlhaus <mad@wol.de>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 25 13:02:37 2009 +0100 (2009-06-25)
parents 845aa241e163
children
line source
1 /******************************************************************************
2 * machine_kexec.c
3 *
4 * Xen port written by:
5 * - Simon 'Horms' Horman <horms@verge.net.au>
6 * - Magnus Damm <magnus@valinux.co.jp>
7 */
9 #include <xen/types.h>
10 #include <xen/kernel.h>
11 #include <asm/page.h>
12 #include <public/kexec.h>
14 int machine_kexec_get_xen(xen_kexec_range_t *range)
15 {
16 range->start = virt_to_maddr(_start);
17 range->size = (unsigned long)xenheap_phys_end -
18 (unsigned long)range->start;
19 return 0;
20 }
22 /*
23 * Local variables:
24 * mode: C
25 * c-set-style: "BSD"
26 * c-basic-offset: 4
27 * tab-width: 4
28 * indent-tabs-mode: nil
29 * End:
30 */