mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 21:16:40 +07:00
5aaf291056
Since the defintion of NODES_SHIFT may be overridden in asm/arch/memory.h it's important to include asm/memory.h into asm/numnodes.h to ensure that the correct value is always defined. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
27 lines
625 B
C
27 lines
625 B
C
/*
|
|
* linux/include/asm-arm/numnodes.h
|
|
*
|
|
* Copyright (C) 2002 Russell King
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
/* This declaration for the size of the NUMA (CONFIG_DISCONTIGMEM)
|
|
* memory node table is the default.
|
|
*
|
|
* A good place to override this value is include/asm/arch/memory.h.
|
|
*/
|
|
|
|
#ifndef __ASM_ARM_NUMNODES_H
|
|
#define __ASM_ARM_NUMNODES_H
|
|
|
|
#include <asm/memory.h>
|
|
|
|
#ifndef NODES_SHIFT
|
|
# define NODES_SHIFT 2 /* Normally, Max 4 Nodes */
|
|
#endif
|
|
|
|
#endif
|