Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18001
b: refs/heads/master
c: e4b5939
h: refs/heads/master
i:
  17999: fcdbada
v: v3
  • Loading branch information
Brian Gerst authored and Linus Torvalds committed Jan 12, 2006
1 parent 7f1628c commit ab91885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1008fddcaed7ad3e69f72939c87b24d0d3387ca2
refs/heads/master: e4b5939a7eec7726d410517e433040db4ede5102
9 changes: 2 additions & 7 deletions trunk/include/asm-x86_64/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,13 @@
int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
void destroy_context(struct mm_struct *mm);

#ifdef CONFIG_SMP

static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
{
#ifdef CONFIG_SMP
if (read_pda(mmu_state) == TLBSTATE_OK)
write_pda(mmu_state, TLBSTATE_LAZY);
}
#else
static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
{
}
#endif
}

static inline void load_cr3(pgd_t *pgd)
{
Expand Down

0 comments on commit ab91885

Please sign in to comment.