From: Michael Hennerich Date: Tue, 25 Oct 2011 08:51:04 +0000 (+0200) Subject: iio: introduce type casts to avoid __ucmpdi2 calls X-Git-Tag: v3.3-rc1~152^2~101^2~344 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e15fbc91a4304a977ed99c3eb21bab7015e86c11;p=pandora-kernel.git iio: introduce type casts to avoid __ucmpdi2 calls This patch type casts the switch control variable to 32 bits in order to prevent a call __ucmpdi2 generated by some versions of gcc. This fixes an undefined reference to `__ucmpdi2' when compiled for arch/blackfin Signed-off-by: Michael Hennerich Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed