mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 16:41:58 +00:00
4baa992243
Move platform independent header files to arch/arm/include/asm, leaving those in asm/arch* and asm/plat* alone. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
31 lines
687 B
C
31 lines
687 B
C
/*
|
|
* arch/arm/include/asm/mmzone.h
|
|
*
|
|
* 1999-12-29 Nicolas Pitre Created
|
|
*
|
|
* 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.
|
|
*/
|
|
#ifndef __ASM_MMZONE_H
|
|
#define __ASM_MMZONE_H
|
|
|
|
/*
|
|
* Currently defined in arch/arm/mm/discontig.c
|
|
*/
|
|
extern pg_data_t discontig_node_data[];
|
|
|
|
/*
|
|
* Return a pointer to the node data for node n.
|
|
*/
|
|
#define NODE_DATA(nid) (&discontig_node_data[nid])
|
|
|
|
/*
|
|
* NODE_MEM_MAP gives the kaddr for the mem_map of the node.
|
|
*/
|
|
#define NODE_MEM_MAP(nid) (NODE_DATA(nid)->node_mem_map)
|
|
|
|
#include <asm/arch/memory.h>
|
|
|
|
#endif
|