#include <linux/module.h>
#include <linux/init.h>
#include <linux/topology.h>
#include <linux/capability.h>
#include <linux/device.h>
#include <linux/memory.h>
#include <linux/kobject.h>
#include <linux/memory_hotplug.h>
#include <linux/mm.h>
#include <linux/mutex.h>
#include <linux/stat.h>
#include <linux/slab.h>
#include <linux/atomic.h>
#include <asm/uaccess.h>
Go to the source code of this file.
#define MEMORY_CLASS_NAME "memory" |
int __weak arch_get_memory_phys_device |
( |
unsigned long |
start_pfn | ) |
|
int register_new_memory |
( |
int |
nid, |
|
|
struct mem_section * |
section |
|
) |
| |
int remove_memory_block |
( |
unsigned long |
node_id, |
|
|
struct mem_section * |
section, |
|
|
int |
phys_device |
|
) |
| |
int unregister_memory_section |
( |
struct mem_section * |
section | ) |
|