m68k: Add support to export bootinfo in procfs
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 21 Aug 2013 20:36:32 +0000 (22:36 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 8 Dec 2013 10:01:48 +0000 (11:01 +0100)
commit7bc1e4d8d506462c7d40118196f79a709f3fecfd
treee9d72b9a9e1e0368b9d3e3a9ccae929fd2ab947e
parent7d5f5fa276efbbe45f0ed270b3f4e4a2816398c2
m68k: Add support to export bootinfo in procfs

Add optional support to export the bootinfo used to boot the kernel in a
"bootinfo" file in procfs.  This is useful with kexec.

This is based on the similar feature for ATAGS on ARM.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/Kconfig
arch/m68k/include/asm/bootinfo.h
arch/m68k/kernel/Makefile
arch/m68k/kernel/bootinfo_proc.c [new file with mode: 0644]
arch/m68k/kernel/setup_mm.c