]> 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)
commit95039b01ec5b3939fb843699c36021f077470c61
tree4e25fba2ed13d82c7fe2d65651be47b58aa15292
parent3f2c7b0996496e836ee21a206a0bd664610bf3cb
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