ARM: 5739/1: ARM: allow empty ATAG_CORE
authorDavid Brown <davidb@codeaurora.org>
Thu, 1 Oct 2009 16:43:29 +0000 (17:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 2 Oct 2009 21:32:34 +0000 (22:32 +0100)
commit31abdb744179159f8b605f56da5b197b188e1689
tree3f7831e86901526bd0da7d8da18ab4de348c22ff
parent0a4bc5e89cfc3cc3083acef130cd8b670ee56914
ARM: 5739/1: ARM: allow empty ATAG_CORE

From: David Brown <davidb@quicinc.com>

The ATAG_CORE is allowed to be empty.  Although this is handled
by parse_tag_core(), __vet_atags during startup rejects this tag
unless it contains data.  Allow the initial tag to be either the
full size, or empty.

Signed-off-by: David Brown <davidb@quicinc.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head-common.S