From: Domenico Andreoli <[email-masked]>

This patch is required to not break OMAP, which wants arch_id but doesn't
use it. Separate fix has been already mailed but not yet merged hence
the hack.

Signed-off-by: Domenico Andreoli <[email-masked]>
---
 arch/arm/boot/compressed/misc.c |    4 ++++
 1 file changed, 4 insertions(+)

Index: b/arch/arm/boot/compressed/misc.c
===================================================================
--- a/arch/arm/boot/compressed/misc.c
+++ b/arch/arm/boot/compressed/misc.c
@@ -105,6 +105,10 @@ void fallback_arch_error(char *x)
 
 void fallback_arch_setup(void)
 {
+	unsigned int arch_id;
+
+	/* hack around plat-omap using arch_id instead of __machine_arch_type */
+	arch_id = __machine_arch_type;
 	arch_decomp_setup();
 }