Re: [PATCH 12/14] x86_64 irq: Add constants for the reserved IRQ vectors.

2007-02-25 Thread Pavel Machek
Hi! > Pavel Machek <[EMAIL PROTECTED]> writes: > > > BUILD_BUG_ON(x > 15) ? ;-). > > That might work. Can you use that in a constant expression? > Still it is a complexity for a handful of lines. > > I would prefer to go with something simple at this point. I was thinking something like #de

Re: [PATCH 12/14] x86_64 irq: Add constants for the reserved IRQ vectors.

2007-02-25 Thread Eric W. Biederman
Pavel Machek <[EMAIL PROTECTED]> writes: > BUILD_BUG_ON(x > 15) ? ;-). That might work. Can you use that in a constant expression? Still it is a complexity for a handful of lines. I would prefer to go with something simple at this point. Eric - To unsubscribe from this list: send the line "un

Re: [PATCH 12/14] x86_64 irq: Add constants for the reserved IRQ vectors.

2007-02-25 Thread Pavel Machek
On Sun 2007-02-25 04:15:30, Eric W. Biederman wrote: > Pavel Machek <[EMAIL PROTECTED]> writes: > > > Hi! > > > >> For the ISA irqs we reserve 16 vectors. This patch adds constants for > >> those vectors and modifies the code to use them. Making the code a > >> little clearer and making it possi

Re: [PATCH 12/14] x86_64 irq: Add constants for the reserved IRQ vectors.

2007-02-25 Thread Eric W. Biederman
Pavel Machek <[EMAIL PROTECTED]> writes: > Hi! > >> For the ISA irqs we reserve 16 vectors. This patch adds constants for >> those vectors and modifies the code to use them. Making the code a >> little clearer and making it possible to move these vectors in the future. > > >> /* >> * Vectors

Re: [PATCH 12/14] x86_64 irq: Add constants for the reserved IRQ vectors.

2007-02-25 Thread Pavel Machek
Hi! > For the ISA irqs we reserve 16 vectors. This patch adds constants for > those vectors and modifies the code to use them. Making the code a > little clearer and making it possible to move these vectors in the future. > /* > * Vectors 0x20-0x2f are used for ISA interrupts. > */ > +#de

[PATCH 12/14] x86_64 irq: Add constants for the reserved IRQ vectors.

2007-02-23 Thread Eric W. Biederman
For the ISA irqs we reserve 16 vectors. This patch adds constants for those vectors and modifies the code to use them. Making the code a little clearer and making it possible to move these vectors in the future. Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]> --- arch/x86_64/kernel/i8259.