x86: move declaration of the exception_table to C
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 31 Jan 2018 11:36:38 +0000 (12:36 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 31 Jan 2018 11:36:38 +0000 (12:36 +0100)
commit7e4edb96fc294261446004f5affd3a81765acd0b
treec258998cd3c51351c6db5334fc01fbb53cb2ae5a
parenta890ea3be71eb6f52588217bd50685072ef818a8
x86: move declaration of the exception_table to C

This makes the code cleaner because there's no need to declare the
exception_table in assembly, and also fixes the following error when
using clang's integrated assembler:

entry.S:834:15: error: unexpected token in '.rept' directive
        .rept 32 - ((. - exception_table) / 8)
              ^
entry.S:836:14: error: unmatched '.endr' directive
        .endr
             ^

This should be a non-functional change.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/traps.c
xen/arch/x86/x86_64/entry.S
xen/include/asm-x86/processor.h