ia64/xen-unstable

changeset 16253:1438f3255384

Clean up xen/xsm/xsm_policy.c compilation warning on !x86.
Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
author Keir Fraser <keir@xensource.com>
date Fri Oct 26 10:57:03 2007 +0100 (2007-10-26)
parents 3980cdd8f879
children 3fe75ef9ca93
files xen/xsm/xsm_policy.c
line diff
     1.1 --- a/xen/xsm/xsm_policy.c	Fri Oct 26 10:55:50 2007 +0100
     1.2 +++ b/xen/xsm/xsm_policy.c	Fri Oct 26 10:57:03 2007 +0100
     1.3 @@ -45,6 +45,8 @@ int xsm_policy_init(unsigned int *initrd
     1.4          _policy_start = (u32 *)start;
     1.5  #elif defined(__x86_64__)
     1.6          _policy_start = maddr_to_virt(start);
     1.7 +#else
     1.8 +        _policy_start = NULL;
     1.9  #endif
    1.10          _policy_len   = mod[i].mod_end - mod[i].mod_start;
    1.11