|
@@ -35,6 +35,7 @@ struct memory_block {
|
|
};
|
|
};
|
|
|
|
|
|
int arch_get_memory_phys_device(unsigned long start_pfn);
|
|
int arch_get_memory_phys_device(unsigned long start_pfn);
|
|
|
|
+unsigned long __weak memory_block_size_bytes(void);
|
|
|
|
|
|
/* These states are exposed to userspace as text strings in sysfs */
|
|
/* These states are exposed to userspace as text strings in sysfs */
|
|
#define MEM_ONLINE (1<<0) /* exposed to userspace */
|
|
#define MEM_ONLINE (1<<0) /* exposed to userspace */
|