From: Harald Welte Date: Tue, 12 May 2009 20:19:42 +0000 (-0700) Subject: viafb: make it work on x86_64 X-Git-Tag: linux-omap-v2.6.30-rc6~28 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee1ef82c7e6d073f881952348960bbc639687482;p=pandora-kernel.git viafb: make it work on x86_64 Fix a bug in viafb on x86_64 builds (e.g. for VIA Nano CPU). You cannot make the assumption that sizeof(unsigned int) == sizeof(unsigned long), so the parsing of the default mode (640x480) fails, leading to a division by zero during insmod of the driver. Signed-off-by: Harald Welte Cc: Cc: Cc: Acked-by: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed