From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Wed, 3 Feb 2016 12:33:51 +0800 Subject: [U-Boot] [PATCH 16/23] x86: irq: Move irq_router to a per driver priv In-Reply-To: References: <1454319658-17431-1-git-send-email-bmeng.cn@gmail.com> <1454319658-17431-17-git-send-email-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 2, 2016 at 12:20 AM, Simon Glass wrote: > On 1 February 2016 at 02:40, Bin Meng 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 >> --- >> >> 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 > Tested on Minnowmax: > Tested-by: Simon Glass applied to u-boot-x86/master, thanks!