Re: [Xen-devel] [PATCH] x86: move declaration of the exception_table to C

2018-01-26 Thread Andrew Cooper
On 26/01/18 19:02, Roger Pau Monné wrote: > On Fri, Jan 26, 2018 at 05:46:23PM +, Andrew Cooper wrote: >> On 26/01/18 17:37, Roger Pau Monne wrote: >>> diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c >>> index a3e8f0c9b9..be95baafe1 100644 >>> --- a/xen/arch/x86/traps.c >>> +++

Re: [Xen-devel] [PATCH] x86: move declaration of the exception_table to C

2018-01-26 Thread Andrew Cooper
On 26/01/18 17:37, Roger Pau Monne wrote: > 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 >

[Xen-devel] [PATCH] x86: move declaration of the exception_table to C

2018-01-26 Thread Roger Pau Monne
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) ^