tlbflush.h (8d962507007357d6fbbcbdd1647faa389a9aed6d) tlbflush.h (5c709e699881afd1cf9244c719eb063c3476a405)
1/*
2 * arch/arm/include/asm/tlbflush.h
3 *
4 * Copyright (C) 1999-2003 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 521 unchanged lines hidden (view full) ---

530 pte_t *ptep);
531#else
532static inline void update_mmu_cache(struct vm_area_struct *vma,
533 unsigned long addr, pte_t *ptep)
534{
535}
536#endif
537
1/*
2 * arch/arm/include/asm/tlbflush.h
3 *
4 * Copyright (C) 1999-2003 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 521 unchanged lines hidden (view full) ---

530 pte_t *ptep);
531#else
532static inline void update_mmu_cache(struct vm_area_struct *vma,
533 unsigned long addr, pte_t *ptep)
534{
535}
536#endif
537
538#define update_mmu_cache_pmd(vma, address, pmd) do { } while (0)
539
540#endif
541
538#endif
539
542#endif /* CONFIG_MMU */
540#elif defined(CONFIG_SMP) /* !CONFIG_MMU */
543
541
542#ifndef __ASSEMBLY__
543
544#include <linux/mm_types.h>
545
546static inline void local_flush_tlb_all(void) { }
547static inline void local_flush_tlb_mm(struct mm_struct *mm) { }
548static inline void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) { }
549static inline void local_flush_tlb_kernel_page(unsigned long kaddr) { }
550static inline void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) { }
551static inline void local_flush_tlb_kernel_range(unsigned long start, unsigned long end) { }
552
553extern void flush_tlb_all(void);
554extern void flush_tlb_mm(struct mm_struct *mm);
555extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr);
556extern void flush_tlb_kernel_page(unsigned long kaddr);
557extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end);
558extern void flush_tlb_kernel_range(unsigned long start, unsigned long end);
559#endif /* __ASSEMBLY__ */
560
544#endif
561#endif
562
563#endif