x86: Refactor interrupt_init()
authorBin Meng <bmeng.cn@gmail.com>
Thu, 20 Nov 2014 08:11:16 +0000 (16:11 +0800)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Nov 2014 13:34:02 +0000 (06:34 -0700)
commit1dae2e0eb660553fd18870b53e4c43bd56414e3b
treea4680bc0f20291f016a711730b801a052ec2941a
parenta549f7497b4d719d37e4a20378c81c1b29bf0404
x86: Refactor interrupt_init()

Rename interrupt_init() in arch/x86/lib/pcat_interrupts.c to
i8259_init() and create a new interrupt_init() in
arch/x86/cpu/interrupt.c to call i8259_init() followed by a
call to cpu_init_interrupts().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/interrupts.c
arch/x86/include/asm/i8259.h
arch/x86/lib/pcat_interrupts.c