summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/setup.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-10-02 21:50:56 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2013-11-26 11:09:16 +0100
commit799300840c18e7fdc0a3dace70d9b56a189fd1ab (patch)
treed26513a11a09c256a9ae62d17c2f656ae9502f01 /arch/m68k/include/asm/setup.h
parent4c3c522bcebe16a717d7a809fd14b11823794027 (diff)
downloadop-kernel-dev-799300840c18e7fdc0a3dace70d9b56a189fd1ab.zip
op-kernel-dev-799300840c18e7fdc0a3dace70d9b56a189fd1ab.tar.gz
m68k/UAPI: Move generic definitions to <asm/bootinfo.h>
Move generic definitions used by bootstraps to uapi/asm/bootinfo.h: - Machine types, - CPU, FPU, and MMU types, - struct mem_info. Keep a copy of struct mem_info for in-kernel use, and rename it to struct m68k_mem_info, as the exported one will be modified later. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/setup.h')
-rw-r--r--arch/m68k/include/asm/setup.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/setup.h b/arch/m68k/include/asm/setup.h
index 65e78a2d..8f2023f 100644
--- a/arch/m68k/include/asm/setup.h
+++ b/arch/m68k/include/asm/setup.h
@@ -22,6 +22,7 @@
#ifndef _M68K_SETUP_H
#define _M68K_SETUP_H
+#include <uapi/asm/bootinfo.h>
#include <uapi/asm/setup.h>
@@ -297,14 +298,14 @@ extern int m68k_is040or060;
#define NUM_MEMINFO 4
#ifndef __ASSEMBLY__
-struct mem_info {
+struct m68k_mem_info {
unsigned long addr; /* physical address of memory chunk */
unsigned long size; /* length of memory chunk (in bytes) */
};
extern int m68k_num_memory; /* # of memory blocks found (and used) */
extern int m68k_realnum_memory; /* real # of memory blocks found */
-extern struct mem_info m68k_memory[NUM_MEMINFO];/* memory description */
+extern struct m68k_mem_info m68k_memory[NUM_MEMINFO];/* memory description */
#endif
#endif /* _M68K_SETUP_H */
OpenPOWER on IntegriCloud