From 09dbbf1099e7d03834c4868e5f563dd86e1ef782 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 1 Mar 2006 22:25:43 -0800 Subject: [PATCH] --- yaml --- r: 21535 b: refs/heads/master c: e22990451a6a6263250cdd267708548dfa08a8f2 h: refs/heads/master i: 21533: d34585b03aa9701abb3f1bfee531b0dc446f99dd 21531: b00e11250347f7c1246a26675e42f92003a28ffd 21527: 796d6e7c2e995f36d3a7ba140de6cd26826be8ae 21519: c6abce7f86b7ccaaf98a03ba741b20cbe9f67d16 21503: f10775e2cb34d2b69e366cd0dc016f6f54c462d8 v: v3 --- [refs] | 2 +- trunk/include/asm-sparc64/pgtable.h | 24 ------------------------ 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/[refs] b/[refs] index 34285ec00e4e..96efe1325d27 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8ba706a95bb92c3b14b812f6d507890336d19136 +refs/heads/master: e22990451a6a6263250cdd267708548dfa08a8f2 diff --git a/trunk/include/asm-sparc64/pgtable.h b/trunk/include/asm-sparc64/pgtable.h index 6c8126b2decc..75a2cd2d7e81 100644 --- a/trunk/include/asm-sparc64/pgtable.h +++ b/trunk/include/asm-sparc64/pgtable.h @@ -646,27 +646,6 @@ static inline unsigned long pte_present(pte_t pte) /* Same in both SUN4V and SUN4U. */ #define pte_none(pte) (!pte_val(pte)) -extern unsigned long pte_present(pte_t); - -/* The following only work if pte_present() is true. - * Undefined behaviour if not.. - */ -extern unsigned long pte_read(pte_t); -extern unsigned long pte_exec(pte_t); -extern unsigned long pte_write(pte_t); -extern unsigned long pte_dirty(pte_t); -extern unsigned long pte_young(pte_t); -extern pte_t pte_wrprotect(pte_t); -extern pte_t pte_rdprotect(pte_t); -extern pte_t pte_mkclean(pte_t); -extern pte_t pte_mkold(pte_t); - -/* Be very careful when you change these three, they are delicate. */ -extern pte_t pte_mkyoung(pte_t); -extern pte_t pte_mkwrite(pte_t); -extern pte_t pte_mkdirty(pte_t); -extern pte_t pte_mkhuge(pte_t); - /* to find an entry in a page-table-directory. */ #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) @@ -766,9 +745,6 @@ extern int io_remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot); -/* Clear virtual and physical cachability, set side-effect bit. */ -extern pgprot_t pgprot_noncached(pgprot_t); - /* * For sparc32&64, the pfn in io_remap_pfn_range() carries in * its high 4 bits. These macros/functions put it there or get it from there.