Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77194
b: refs/heads/master
c: 8ffd74a
h: refs/heads/master
v: v3
  • Loading branch information
Martin Schwidefsky committed Jan 26, 2008
1 parent 91b8317 commit fe4f4e6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 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: 6f457e1a149eb39ee58d51913e8023fc27c52806
refs/heads/master: 8ffd74a0924e4e04f6455eb2d2187a9564678d01
20 changes: 17 additions & 3 deletions trunk/include/asm-s390/tlbflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,23 @@ static inline void __tlb_flush_mm_cond(struct mm_struct * mm)
*/
#define flush_tlb() do { } while (0)
#define flush_tlb_all() do { } while (0)
#define flush_tlb_mm(mm) __tlb_flush_mm_cond(mm)
#define flush_tlb_page(vma, addr) do { } while (0)
#define flush_tlb_range(vma, start, end) __tlb_flush_mm_cond(mm)
#define flush_tlb_kernel_range(start, end) __tlb_flush_mm(&init_mm)

static inline void flush_tlb_mm(struct mm_struct *mm)
{
__tlb_flush_mm_cond(mm);
}

static inline void flush_tlb_range(struct vm_area_struct *vma,
unsigned long start, unsigned long end)
{
__tlb_flush_mm_cond(vma->vm_mm);
}

static inline void flush_tlb_kernel_range(unsigned long start,
unsigned long end)
{
__tlb_flush_mm(&init_mm);
}

#endif /* _S390_TLBFLUSH_H */

0 comments on commit fe4f4e6

Please sign in to comment.