mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-11-01 08:38:52 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
13
arch/sh/include/asm/ptrace_32.h
Normal file
13
arch/sh/include/asm/ptrace_32.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef __ASM_SH_PTRACE_32_H
|
||||
#define __ASM_SH_PTRACE_32_H
|
||||
|
||||
#include <uapi/asm/ptrace_32.h>
|
||||
|
||||
|
||||
#define MAX_REG_OFFSET offsetof(struct pt_regs, tra)
|
||||
static inline long regs_return_value(struct pt_regs *regs)
|
||||
{
|
||||
return regs->regs[0];
|
||||
}
|
||||
|
||||
#endif /* __ASM_SH_PTRACE_32_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue