kernel-ark/arch/um/kernel
Richard Weinberger b63236972e um: Setup physical memory in setup_arch()
Currently UML sets up physical memory very early,
long before setup_arch() was called by the kernel main
function.
This can cause problems when code paths in UML's memory setup
code assume that the kernel is already running.
i.e. when kmemleak is enabled it will evaluate current()
in free_bootmem(). That early current() is undefined and
UML explodes.

Solve the problem by setting up physical memory in setup_arch(),
at this stage the kernel has materialized and basic infrastructure
such as current() works.

Signed-off-by: Richard Weinberger <richard@nod.at>
2016-08-04 00:00:46 +02:00
..
skas mm: cleanup *pte_alloc* interfaces 2016-03-17 15:09:34 -07:00
asm-offsets.c
config.c.in
dyn.lds.S
early_printk.c
exec.c
exitcode.c uml: check length in exitcode_proc_write() 2013-10-30 12:24:49 -07:00
gmon_syms.c
gprof_syms.c
initrd.c um: Eliminate null test after alloc_bootmem 2016-08-04 00:00:06 +02:00
irq.c um: Remove broken SMP support 2015-04-13 21:00:58 +02:00
kmsg_dump.c um: add a kmsg_dumper 2015-04-13 21:17:37 +02:00
ksyms.c um: Move syscall() declaration into os.h 2015-05-31 13:14:07 +02:00
maccess.c um: Implement probe_kernel_read() 2013-09-07 10:38:34 +02:00
Makefile um: add a kmsg_dumper 2015-04-13 21:17:37 +02:00
mem.c tree wide: get rid of __GFP_REPEAT for order-0 allocations part I 2016-06-24 17:23:52 -07:00
physmem.c um: Use char[] for linker script address declarations 2015-05-31 13:14:06 +02:00
process.c Merge branch 'for-linus-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml 2016-05-27 18:54:59 -07:00
ptrace.c um: Don't pollute kernel namespace with uapi 2015-06-25 22:44:11 +02:00
reboot.c um: Export pm_power_off 2016-03-05 22:17:52 +01:00
sigio.c
signal.c Revert "um: Fix get_signal() usage" 2016-03-05 22:16:40 +01:00
stacktrace.c um: Add support for CONFIG_STACKTRACE 2014-10-13 21:46:25 +02:00
syscall.c
sysrq.c um: Remove dead code from stacktrace 2015-04-13 21:00:40 +02:00
time.c um: Switch clocksource to hrtimers 2015-11-06 22:54:49 +01:00
tlb.c um: Report host OOM more nicely 2015-11-06 22:49:12 +01:00
trap.c um: Fix kernel mode fault condition 2015-10-19 22:53:37 +02:00
um_arch.c um: Setup physical memory in setup_arch() 2016-08-04 00:00:46 +02:00
umid.c
uml.lds.S
vmlinux.lds.S