diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-04-03 12:35:35 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-04-03 12:35:35 +0200 |
commit | 570c311ca2c7a1131570cdfc77e977bc7a9bf4c0 (patch) | |
tree | 727a5b57670ed6eef54aa89de3f9699be441df83 /xen/include/xen/symbols.h | |
parent | 62872b0f0311eacd40100663d31faf7cafa24586 (diff) | |
download | xen-570c311ca2c7a1131570cdfc77e977bc7a9bf4c0.tar.gz xen-570c311ca2c7a1131570cdfc77e977bc7a9bf4c0.tar.bz2 xen-570c311ca2c7a1131570cdfc77e977bc7a9bf4c0.zip |
remove ia64
It retains IA64-specific bits in code imported from elsewhere (e.g.
ACPI, EFI) as well as in the public headers.
It also doesn't touch the tools, mini-os, and unmodified_drivers
sub-trees.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/xen/symbols.h')
-rw-r--r-- | xen/include/xen/symbols.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/xen/include/xen/symbols.h b/xen/include/xen/symbols.h index 5215b9a697..37cf6bfef9 100644 --- a/xen/include/xen/symbols.h +++ b/xen/include/xen/symbols.h @@ -21,13 +21,9 @@ static void __check_printsym_format(const char *fmt, ...) { } -/* ia64 and ppc64 use function descriptors, which contain the real address */ -#if defined(CONFIG_IA64) || defined(CONFIG_PPC64) -#define print_fn_descriptor_symbol(fmt, addr) \ -do { \ - unsigned long *__faddr = (unsigned long*) addr; \ - print_symbol(fmt, __faddr[0]); \ -} while (0) +#if 0 +#define print_fn_descriptor_symbol(fmt, addr) \ + print_symbol(fmt, *(unsigned long *)addr) #else #define print_fn_descriptor_symbol(fmt, addr) print_symbol(fmt, addr) #endif |