mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
bb1e4bc5cd
There can be 1, 2 or 4 SoCs(nodes) in a multi-chip XLP board. Add an option for multi-chip boards in case of XLP, and make the number of nodes configurable. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Patchwork: http://patchwork.linux-mips.org/patch/4470 Signed-off-by: John Crispin <blogic@openwrt.org>
17 lines
431 B
C
17 lines
431 B
C
/*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* Copyright (C) 2011 Netlogic Microsystems.
|
|
*/
|
|
#ifndef __ASM_NETLOGIC_IRQ_H
|
|
#define __ASM_NETLOGIC_IRQ_H
|
|
|
|
#include <asm/mach-netlogic/multi-node.h>
|
|
#define NR_IRQS (64 * NLM_NR_NODES)
|
|
|
|
#define MIPS_CPU_IRQ_BASE 0
|
|
|
|
#endif /* __ASM_NETLOGIC_IRQ_H */
|