aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/setup.h
diff options
context:
space:
mode:
authorPhilipp Hachtmann <phacht@linux.vnet.ibm.com>2014-01-29 12:16:01 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-05-20 02:58:40 -0400
commit50be634507284eea38df78154d22615d21200b42 (patch)
tree427a1302d043bb64b5d4d01c0459f7b4a2282110 /arch/s390/include/asm/setup.h
parent70210ed950b538ee7eb811dccc402db9df1c9be4 (diff)
s390/mm: Convert bootmem to memblock
The original bootmem allocator is getting replaced by memblock. To cover the needs of the s390 kdump implementation the physical memory list is used. With this patch the bootmem allocator and its bitmaps are completely removed from s390. Signed-off-by: Philipp Hachtmann <phacht@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/setup.h')
-rw-r--r--arch/s390/include/asm/setup.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/arch/s390/include/asm/setup.h b/arch/s390/include/asm/setup.h
index b31b22dba948..089a49814c50 100644
--- a/arch/s390/include/asm/setup.h
+++ b/arch/s390/include/asm/setup.h
@@ -9,7 +9,6 @@
9 9
10 10
11#define PARMAREA 0x10400 11#define PARMAREA 0x10400
12#define MEMORY_CHUNKS 256
13 12
14#ifndef __ASSEMBLY__ 13#ifndef __ASSEMBLY__
15 14
@@ -31,22 +30,11 @@
31#endif /* CONFIG_64BIT */ 30#endif /* CONFIG_64BIT */
32#define COMMAND_LINE ((char *) (0x10480)) 31#define COMMAND_LINE ((char *) (0x10480))
33 32
34#define CHUNK_READ_WRITE 0
35#define CHUNK_READ_ONLY 1
36
37struct mem_chunk {
38 unsigned long addr;
39 unsigned long size;
40 int type;
41};
42
43extern struct mem_chunk memory_chunk[];
44extern int memory_end_set; 33extern int memory_end_set;
45extern unsigned long memory_end; 34extern unsigned long memory_end;
35extern unsigned long max_physmem_end;
46 36
47void detect_memory_layout(struct mem_chunk chunk[], unsigned long maxsize); 37extern void detect_memory_memblock(void);
48void create_mem_hole(struct mem_chunk mem_chunk[], unsigned long addr,
49 unsigned long size);
50 38
51/* 39/*
52 * Machine features detected in head.S 40 * Machine features detected in head.S