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

Simon Glass sjg at chromium.org
Mon Feb 1 17:20:09 CET 2016


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>


More information about the U-Boot mailing list