]> git.baikalelectronics.ru Git - kernel.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)
commit0233fcb9ce2c626804e142b5f5fe273d55350ec3
tree4e25fba2ed13d82c7fe2d65651be47b58aa15292
parent61ea8830ddfa1c4d79e761d566c8765f957543fa
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