diff options
Diffstat (limited to 'arch/parisc/lib/libgcc/__umodsi3.c')
-rw-r--r-- | arch/parisc/lib/libgcc/__umodsi3.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/parisc/lib/libgcc/__umodsi3.c b/arch/parisc/lib/libgcc/__umodsi3.c new file mode 100644 index 00000000000..51f55aa89f9 --- /dev/null +++ b/arch/parisc/lib/libgcc/__umodsi3.c @@ -0,0 +1,10 @@ +#include "libgcc.h" + +u32 __umodsi3(u32 num, u32 den) +{ + u32 v; + + (void)__udivmodsi4(num, den, &v); + return v; +} +EXPORT_SYMBOL(__umodsi3); |