mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-09 01:28:05 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
18
arch/powerpc/math-emu/fabs.c
Normal file
18
arch/powerpc/math-emu/fabs.c
Normal file
|
@ -0,0 +1,18 @@
|
|||
#include <linux/types.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
int
|
||||
fabs(u32 *frD, u32 *frB)
|
||||
{
|
||||
frD[0] = frB[0] & 0x7fffffff;
|
||||
frD[1] = frB[1];
|
||||
|
||||
#ifdef DEBUG
|
||||
printk("%s: D %p, B %p: ", __func__, frD, frB);
|
||||
dump_double(frD);
|
||||
printk("\n");
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue