]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xtensa: fix boot parameters parsing
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 14 Oct 2012 23:55:37 +0000 (03:55 +0400)
committerChris Zankel <chris@zankel.net>
Tue, 16 Oct 2012 04:43:15 +0000 (21:43 -0700)
commitf4349b6e01c8927a04795885702a173b6a60573c
tree4e25fba2ed13d82c7fe2d65651be47b58aa15292
parent1bbedc3a7bf2a72b9b58ce1d171811db757b1940
xtensa: fix boot parameters parsing

Boot parameter tags with handlers are ignored like this:

[    0.000000] Ignoring tag 0x00001003
[    0.000000] Ignoring tag 0x00001001
[    0.000000] Ignoring tag 0x00001004

because neither tagtable entries nor tag handlers appear in the vmlinux.

Fix tagtable definition attributes so that tag entries are not dropped.

Fix end of memory bank calculation in parse_tag_mem: it is intended to
round down to page size, but instead did something strange leading to
hang right after boot.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/kernel/setup.c