mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 11:56:45 +07:00
e97ff121ae
-Top level ARC makefile removes -I for platform headers -asm/irq.h no longer includes plat/irq.h -platform makefile adds -I for it's specfic platform headers -platform code to directly include it's plat/irq.h -Linker script needed plat/memmap.h for CCM info, already in .config Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Arnd Bergmann <arnd@arndb.de> Acked-by: Arnd Bergmann <arnd@arndb.de>
26 lines
690 B
C
26 lines
690 B
C
/*
|
|
* ARC FPGA Platform IRQ hookups
|
|
*
|
|
* Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#include <linux/interrupt.h>
|
|
#include <plat/irq.h>
|
|
|
|
void __init plat_fpga_init_IRQ(void)
|
|
{
|
|
/*
|
|
* SMP Hack because UART IRQ hardwired to cpu0 (boot-cpu) but if the
|
|
* request_irq() comes from any other CPU, the low level IRQ unamsking
|
|
* essential for getting Interrupts won't be enabled on cpu0, locking
|
|
* up the UART state machine.
|
|
*/
|
|
#ifdef CONFIG_SMP
|
|
arch_unmask_irq(UART0_IRQ);
|
|
#endif
|
|
}
|