[PATCH] x86_64: interrupt array size should be aligned to NR_VECTORS
interrupt array is referred for idt vectors instead of NR_IRQS, so change size to NR_VECTORS - FIRST_EXTERNAL_VECTOR. Also change to static. Signed-off-by: NYinghai Lu <yinghai@amd.com> Signed-off-by: NAndi Kleen <ak@suse.de>
Showing
想要评论请 注册 或 登录