mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-11-02 17:15:37 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
32
arch/sparc/include/asm/tlb_64.h
Normal file
32
arch/sparc/include/asm/tlb_64.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#ifndef _SPARC64_TLB_H
|
||||
#define _SPARC64_TLB_H
|
||||
|
||||
#include <linux/swap.h>
|
||||
#include <linux/pagemap.h>
|
||||
#include <asm/pgalloc.h>
|
||||
#include <asm/tlbflush.h>
|
||||
#include <asm/mmu_context.h>
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
void smp_flush_tlb_pending(struct mm_struct *,
|
||||
unsigned long, unsigned long *);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
void smp_flush_tlb_mm(struct mm_struct *mm);
|
||||
#define do_flush_tlb_mm(mm) smp_flush_tlb_mm(mm)
|
||||
#else
|
||||
#define do_flush_tlb_mm(mm) __flush_tlb_mm(CTX_HWBITS(mm->context), SECONDARY_CONTEXT)
|
||||
#endif
|
||||
|
||||
void __flush_tlb_pending(unsigned long, unsigned long, unsigned long *);
|
||||
void flush_tlb_pending(void);
|
||||
|
||||
#define tlb_start_vma(tlb, vma) do { } while (0)
|
||||
#define tlb_end_vma(tlb, vma) do { } while (0)
|
||||
#define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0)
|
||||
#define tlb_flush(tlb) flush_tlb_pending()
|
||||
|
||||
#include <asm-generic/tlb.h>
|
||||
|
||||
#endif /* _SPARC64_TLB_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue