aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/tboot.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-03-09 16:31:00 +0000
committerJan Beulich <jbeulich@novell.com>2011-03-09 16:31:00 +0000
commitcba76631d1fc7b511facfca6449a0c1d5565fbf0 (patch)
tree566b375a761c58618a3cdb4e6e6d970c9760a735 /xen/arch/x86/tboot.c
parent007f425ac5d2bc0b607fb4fb429ad92315f52de1 (diff)
downloadxen-cba76631d1fc7b511facfca6449a0c1d5565fbf0.tar.gz
xen-cba76631d1fc7b511facfca6449a0c1d5565fbf0.tar.bz2
xen-cba76631d1fc7b511facfca6449a0c1d5565fbf0.zip
move various bits into .init.* sections
This also includes the removal of some entirely unused functions. The patch builds upon the makefile adjustments done in the earlier sent patch titled "move more kernel decompression bits to .init.* sections". Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/arch/x86/tboot.c')
-rw-r--r--xen/arch/x86/tboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/tboot.c b/xen/arch/x86/tboot.c
index cab39c440e..42158741c1 100644
--- a/xen/arch/x86/tboot.c
+++ b/xen/arch/x86/tboot.c
@@ -70,8 +70,8 @@ typedef struct __packed {
uint32_t vtd_dmars_off;
} sinit_mle_data_t;
-static void tboot_copy_memory(unsigned char *va, uint32_t size,
- unsigned long pa)
+static void __init tboot_copy_memory(unsigned char *va, uint32_t size,
+ unsigned long pa)
{
unsigned long map_base = 0;
unsigned char *map_addr = NULL;