From: Dave Martin Date: Tue, 14 Jun 2011 13:20:44 +0000 (+0100) Subject: ARM: 6961/1: zImage: Add build-time check for correctly-sized proc_type entries X-Git-Tag: v3.0-rc5~28^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=946a105e16651c35e9cc670bff23812761f1ad35;p=pandora-kernel.git ARM: 6961/1: zImage: Add build-time check for correctly-sized proc_type entries It is easy to mis-maintain the proc_types table such that the entries become wrongly-sized and misaligned when the kernel is built in Thumb-2. This patch adds an assembly-time check which will turn most common size/alignment mistakes in this table into build failures, to avoid having to debug the boot-time kernel hang which would happen if the resulting kernel were actually booted. Signed-off-by: Dave Martin Acked-by: Nicolas Pitre Signed-off-by: Russell King --- Reading git-diff-tree failed