Staging
v0.5.2
https://github.com/torvalds/linux
Raw File
Tip revision: b419148e567728f6af0c3b01965c1cc141e3e13a authored by Linus Torvalds on 03 November 2009, 19:37:49 UTC
Linux 2.6.32-rc6
Tip revision: b419148
mmzone.h
/*
 * Written by Kanoj Sarcar (kanoj@sgi.com) Aug 99
 * Rewritten for Linux 2.6 by Christoph Hellwig (hch@lst.de) Jan 2004
 */
#ifndef _ASM_MMZONE_H_
#define _ASM_MMZONE_H_

#include <asm/page.h>
#include <mmzone.h>

#ifdef CONFIG_DISCONTIGMEM

#define pfn_to_nid(pfn)		pa_to_nid((pfn) << PAGE_SHIFT)

#endif /* CONFIG_DISCONTIGMEM */

#endif /* _ASM_MMZONE_H_ */
back to top