diff options
author | Andreas Herrmann <[email protected]> | 2009-06-08 19:09:39 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-06-08 19:18:25 +0200 |
commit | c9690998ef48ffefeccb91c70a7739eebdea57f9 (patch) | |
tree | 01d628fd94a943ee6fe046257aa3a6be1b05390f /net/lapb | |
parent | c4ed3f04ba9defe22aa729d1646f970f791c03d7 (diff) |
x86: memtest: remove 64-bit division
Using gcc 3.3.5 a "make allmodconfig" + "CONFIG_KVM=n"
triggers a build error:
arch/x86/mm/built-in.o(.init.text+0x43f7): In function `__change_page_attr':
arch/x86/mm/pageattr.c:114: undefined reference to `__udivdi3'
make: *** [.tmp_vmlinux1] Error 1
The culprit turned out to be a division in arch/x86/mm/memtest.c
For more info see this thread:
http://marc.info/?l=linux-kernel&m=124416232620683
The patch entirely removes the division that caused the build
error.
[ Impact: build fix with certain GCC versions ]
Reported-by: Tetsuo Handa <[email protected]>
Signed-off-by: Andreas Herrmann <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: [email protected]
Cc: Andrew Morton <[email protected]>
Cc: <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions