Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01749f6d authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Thomas Gleixner
Browse files

x86: unify include/asm/tlb_32/64.h



Same file, except for whitespace, comment formatting.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent f16ee288
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
#ifdef CONFIG_X86_32
# include "tlb_32.h"
#else
# include "tlb_64.h"
#ifndef _ASM_X86_TLB_H
#define _ASM_X86_TLB_H

#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_mm((tlb)->mm)

#include <asm-generic/tlb.h>

#endif

include/asm-x86/tlb_32.h

deleted100644 → 0
+0 −20
Original line number Diff line number Diff line
#ifndef _I386_TLB_H
#define _I386_TLB_H

/*
 * x86 doesn't need any special per-pte or
 * per-vma handling..
 */
#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)

/*
 * .. because we flush the whole mm when it
 * fills up.
 */
#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)

#include <asm-generic/tlb.h>

#endif

include/asm-x86/tlb_64.h

deleted100644 → 0
+0 −13
Original line number Diff line number Diff line
#ifndef TLB_H
#define TLB_H 1


#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_mm((tlb)->mm)

#include <asm-generic/tlb.h>

#endif