summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/sn/gda.h
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2019-10-30 11:51:44 +0100
committerPaul Burton <paulburton@kernel.org>2019-11-01 14:33:23 -0700
commitc80b48965a3f5908468d0c078a910ca22f5dede3 (patch)
tree89984af0241753fe0229eb933ac9bb80390b39f7 /arch/mips/include/asm/sn/gda.h
parent474435a058309cf1a253dbd77cac2ab89c75d4a6 (diff)
downloadlinux-c80b48965a3f5908468d0c078a910ca22f5dede3.tar.bz2
MIPS: SGI-IP27: replace MAX_COMPACT_NODE with MAX_NUMNODES
MAX_COMPACT_NODE is a leftover from the compact node implementation, which is removed now. Use MAX_NUMNODES instead. Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@mips.com> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/include/asm/sn/gda.h')
-rw-r--r--arch/mips/include/asm/sn/gda.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/include/asm/sn/gda.h b/arch/mips/include/asm/sn/gda.h
index 85fa1b5f639d..d52f81620661 100644
--- a/arch/mips/include/asm/sn/gda.h
+++ b/arch/mips/include/asm/sn/gda.h
@@ -60,9 +60,7 @@ typedef struct gda {
/* Pointer to a mask of nodes with copies
* of the kernel. */
char g_padding[56]; /* pad out to 128 bytes */
- nasid_t g_nasidtable[MAX_COMPACT_NODES]; /* NASID of each node,
- * indexed by cnodeid.
- */
+ nasid_t g_nasidtable[MAX_NUMNODES]; /* NASID of each node */
} gda_t;
#define GDA ((gda_t*) GDA_ADDR(get_nasid()))