diff options
author | Jean Delvare <[email protected]> | 2008-01-08 15:33:08 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-01-08 16:10:36 -0800 |
commit | ce8c628abadaf16a44953301c68b9f54cf6898cc (patch) | |
tree | 2b5f560365aa156e984da78be6dc51a0aaac2547 /net/unix/sysctl_net_unix.c | |
parent | 83a08e7c6ed533a47631794e7f618a98094b4129 (diff) |
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 <[email protected]>
Cc: Dave Airlie <[email protected]>
Tested-by: Kamalesh Babulal <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions