Jean Delvare ce8c628aba dmi-id: fix for __you_cannot_kmalloc_that_much failure
gcc 3.2 has a hard time coping with the code in dmi_id_init():

drivers/built-in.o(.init.text+0x789e): In function `dmi_id_init':
: undefined reference to `__you_cannot_kmalloc_that_much'
make: *** [.tmp_vmlinux1] Error 1

Moving half of the code to a separate function seems to help.  This is a
no-op for gcc 4.1 which will successfully inline the code anyway.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Dave Airlie <airlied@linux.ie>
Tested-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-01-08 16:10:36 -08:00
..
2007-12-19 14:29:01 -08:00
2007-12-20 14:05:37 -08:00
2007-10-29 17:27:50 -04:00
2007-12-12 13:45:25 +01:00
2007-12-24 15:23:44 +01:00
2007-12-31 23:11:11 +00:00
2007-11-05 15:12:31 -08:00
2007-11-29 09:24:53 -08:00
2007-12-12 20:01:00 +01:00
2007-12-23 12:54:37 -08:00
2007-12-17 19:28:15 -08:00
2007-12-19 14:27:30 -08:00
2007-11-14 18:45:36 -08:00
2007-12-04 16:48:06 +00:00