Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v2.6.12-rc4 39 lines 1.0 kB view raw
1/* 2 * TLB shootdown specifics for PPC64 3 * 4 * Copyright (C) 2002 Anton Blanchard, IBM Corp. 5 * Copyright (C) 2002 Paul Mackerras, IBM Corp. 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 10 * 2 of the License, or (at your option) any later version. 11 */ 12#ifndef _PPC64_TLB_H 13#define _PPC64_TLB_H 14 15#include <asm/tlbflush.h> 16 17struct mmu_gather; 18 19extern void pte_free_finish(void); 20 21static inline void tlb_flush(struct mmu_gather *tlb) 22{ 23 flush_tlb_pending(); 24 pte_free_finish(); 25} 26 27/* Avoid pulling in another include just for this */ 28#define check_pgt_cache() do { } while (0) 29 30/* Get the generic bits... */ 31#include <asm-generic/tlb.h> 32 33/* Nothing needed here in fact... */ 34#define tlb_start_vma(tlb, vma) do { } while (0) 35#define tlb_end_vma(tlb, vma) do { } while (0) 36 37#define __tlb_remove_tlb_entry(tlb, pte, address) do { } while (0) 38 39#endif /* _PPC64_TLB_H */