Skip to content

Commit

Permalink
include/asm-x86/tlbflush.h: checkpatch cleanups - formatting only
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Joe Perches authored and Ingo Molnar committed Apr 17, 2008
1 parent b98fff3 commit 94cf8de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/asm-x86/tlbflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static inline void __native_flush_tlb_global(void)

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)
Expand Down Expand Up @@ -134,8 +134,7 @@ void native_flush_tlb_others(const cpumask_t *cpumask, struct mm_struct *mm,
#define TLBSTATE_LAZY 2

#ifdef CONFIG_X86_32
struct tlb_state
{
struct tlb_state {
struct mm_struct *active_mm;
int state;
char __cacheline_padding[L1_CACHE_BYTES-8];
Expand Down

0 comments on commit 94cf8de

Please sign in to comment.