
Currently we're hacking libs-y to include libgcc.a, but this has unforeseen consequences since the userspace libgcc is linked with fpregs enabled. We need the kernel to stop using fpregs in an uncontrolled manner to implement lazy fpu state saves. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
7 lines
121 B
C
7 lines
121 B
C
#include "libgcc.h"
|
|
|
|
u64 __udivdi3(u64 num, u64 den)
|
|
{
|
|
return __udivmoddi4(num, den, NULL);
|
|
}
|
|
EXPORT_SYMBOL(__udivdi3);
|