mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-11-01 16:48:51 +01: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/mffs.c
Normal file
18
arch/powerpc/math-emu/mffs.c
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#include <linux/types.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
#include <asm/sfp-machine.h>
|
||||
#include <math-emu/soft-fp.h>
|
||||
|
||||
int
|
||||
mffs(u32 *frD)
|
||||
{
|
||||
frD[1] = __FPU_FPSCR;
|
||||
|
||||
#ifdef DEBUG
|
||||
printk("%s: frD %p: %08x.%08x\n", __func__, frD, frD[0], frD[1]);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue