From: Ben Dooks Date: Thu, 24 Jul 2008 04:31:37 +0000 (-0700) Subject: sm501: fixup allocation code to be 64bit resource compliant X-Git-Tag: v2.6.27-rc1~543 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d05254190dd1a4751284f4a51efb70fcc16c45a4;p=pandora-kernel.git sm501: fixup allocation code to be 64bit resource compliant As pointed out by Andrew Morton, we have a problem when setting the 64bit resources option. Alter the allocation routines to remove the need to use the start and end fields, use the proper HEAD_PANEL/HEAD_CRT and update the comments. Note, we also fix the bug where we failed to check the size of the CRT memory allocation. [akpm@linux-foundation.org: cleanup] Signed-off-by: Ben Dooks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed