mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
include/asm-x86/tlbflush.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
b98fff3022
commit
94cf8de0a0
1 changed files with 2 additions and 3 deletions
|
@ -32,7 +32,7 @@ static inline void __native_flush_tlb_global(void)
|
||||||
|
|
||||||
static inline void __native_flush_tlb_single(unsigned long addr)
|
static inline void __native_flush_tlb_single(unsigned long addr)
|
||||||
{
|
{
|
||||||
__asm__ __volatile__("invlpg (%0)" ::"r" (addr) : "memory");
|
asm volatile("invlpg (%0)" ::"r" (addr) : "memory");
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void __flush_tlb_all(void)
|
static inline void __flush_tlb_all(void)
|
||||||
|
@ -134,8 +134,7 @@ void native_flush_tlb_others(const cpumask_t *cpumask, struct mm_struct *mm,
|
||||||
#define TLBSTATE_LAZY 2
|
#define TLBSTATE_LAZY 2
|
||||||
|
|
||||||
#ifdef CONFIG_X86_32
|
#ifdef CONFIG_X86_32
|
||||||
struct tlb_state
|
struct tlb_state {
|
||||||
{
|
|
||||||
struct mm_struct *active_mm;
|
struct mm_struct *active_mm;
|
||||||
int state;
|
int state;
|
||||||
char __cacheline_padding[L1_CACHE_BYTES-8];
|
char __cacheline_padding[L1_CACHE_BYTES-8];
|
||||||
|
|
Loading…
Add table
Reference in a new issue