[U-Boot] [PATCH 16/23] x86: irq: Move irq_router to a per driver priv

Bin Meng bmeng.cn at gmail.com
Wed Feb 3 05:33:51 CET 2016


On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass <sjg at chromium.org> wrote:
> On 1 February 2016 at 02:40, Bin Meng <bmeng.cn at gmail.com> wrote:
>> At present irq_router is declared as a static struct irq_router in
>> arch/x86/cpu/irq.c. Since it's a driver control block, it makes sense
>> to move it to a per driver priv. Adjust existing APIs to accept an
>> additional parameter of irq_router's udevice.
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>>
>>  arch/x86/cpu/irq.c                  | 73 +++++++++++++++++++------------------
>>  arch/x86/include/asm/pirq_routing.h | 12 ++++--
>>  arch/x86/lib/pirq_routing.c         | 12 +++---
>>  3 files changed, 51 insertions(+), 46 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Tested on Minnowmax:
> Tested-by: Simon Glass <sjg at chromium.org>

applied to u-boot-x86/master, thanks!


More information about the U-Boot mailing list