x86: check kexec relocation code fits in a page
authorDavid Vrabel <david.vrabel@citrix.com>
Tue, 12 Nov 2013 10:47:26 +0000 (11:47 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Nov 2013 10:47:26 +0000 (11:47 +0100)
commit1fab023d3f58ed2b40c90c0d9cd078c3afcbcfc7
tree94c9f700e0c8cc60b7250c93360080753cd4194b
parent19f46b09277ee4caca859b4b2a1944432ea41c21
x86: check kexec relocation code fits in a page

The kexec relocation (control) code must fit in a single page so add a
link time check for this.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Don Slutz <dslutz@verizon.com>
Tested-by: Don Slutz <dslutz@verizon.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Tested-by: Daniel Kiper <daniel.kiper@oracle.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/xen.lds.S