x86: re-add stack alignment check
authorJan Beulich <jbeulich@suse.com>
Fri, 25 Nov 2016 13:30:58 +0000 (14:30 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 25 Nov 2016 13:30:58 +0000 (14:30 +0100)
commitbffd3752b7c5554a551e86ff9f08e30f484f3537
treeb5b591626fa0182bbd8639eb800a6371d52227a6
parent892d191df60806ea63f9d3c4fc37615bee028812
x86: re-add stack alignment check

Commit 279840d5ea ("x86/boot: install trap handlers much earlier on
boot"), perhaps not really intentionally, removed this check. Add it
back,
- preventing it from triggering before any output is set up,
- accompanying it with a (weaker, due to its open coding of what
  get_stack_bottom() does) build time check.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/cpu/common.c