
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>
10 lines
138 B
C
10 lines
138 B
C
#include "libgcc.h"
|
|
|
|
u64 __umoddi3(u64 num, u64 den)
|
|
{
|
|
u64 v;
|
|
|
|
(void)__udivmoddi4(num, den, &v);
|
|
return v;
|
|
}
|
|
EXPORT_SYMBOL(__umoddi3);
|