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
20
arch/arm/mm/abort-nommu.S
Normal file
20
arch/arm/mm/abort-nommu.S
Normal file
|
@ -0,0 +1,20 @@
|
|||
#include <linux/linkage.h>
|
||||
#include <asm/assembler.h>
|
||||
/*
|
||||
* Function: nommu_early_abort
|
||||
*
|
||||
* Params : r2 = pt_regs
|
||||
* : r4 = aborted context pc
|
||||
* : r5 = aborted context psr
|
||||
*
|
||||
* Returns : r4 - r11, r13 preserved
|
||||
*
|
||||
* Note: There is no FSR/FAR on !CPU_CP15_MMU cores.
|
||||
* Just fill zero into the registers.
|
||||
*/
|
||||
.align 5
|
||||
ENTRY(nommu_early_abort)
|
||||
mov r0, #0 @ clear r0, r1 (no FSR/FAR)
|
||||
mov r1, #0
|
||||
b do_DataAbort
|
||||
ENDPROC(nommu_early_abort)
|
Loading…
Add table
Add a link
Reference in a new issue