Ben Dooks d05254190d 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 <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:40 -07:00
..
2008-07-24 10:47:39 -07:00
2008-05-20 13:31:53 -07:00
2008-03-10 18:01:20 -07:00
2008-04-28 08:58:38 -07:00
2008-07-24 10:47:37 -07:00
2008-04-28 08:58:18 -07:00
2008-04-28 08:58:38 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-10-18 14:37:17 -07:00
2008-05-08 21:37:30 -07:00
2008-07-20 17:24:39 -07:00
2008-07-24 10:47:34 -07:00
2008-07-24 10:47:34 -07:00
2008-05-08 21:37:30 -07:00
2008-05-08 21:37:30 -07:00
2008-05-08 21:37:30 -07:00
2008-02-03 17:31:49 +02:00
2008-05-18 13:28:49 -07:00
2008-07-24 10:47:39 -07:00
2007-05-08 11:15:26 -07:00
2008-05-08 21:37:30 -07:00
2008-07-08 12:51:08 -07:00
2007-11-14 18:45:42 -08:00
2008-04-28 08:58:35 -07:00
2008-02-06 10:41:16 -08:00
2008-07-24 10:47:38 -07:00
2008-06-10 14:13:09 -07:00
2008-07-24 10:47:38 -07:00
2008-06-06 11:29:12 -07:00
2008-04-28 08:58:41 -07:00
2007-10-16 09:43:20 -07:00
2008-07-24 10:47:37 -07:00
2008-07-24 10:47:37 -07:00
2008-05-24 09:56:13 -07:00
2008-04-28 08:58:38 -07:00
2007-10-16 09:43:22 -07:00
2008-05-08 21:37:30 -07:00
2008-07-24 10:47:38 -07:00
2007-05-08 11:15:32 -07:00
2008-04-28 08:58:38 -07:00
2008-07-04 10:40:08 -07:00