aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-03-02 01:25:43 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:14:11 -0500
commite22990451a6a6263250cdd267708548dfa08a8f2 (patch)
tree5d280a9aa0d2b49824d917be85afaa37bb93aede /include
parent8ba706a95bb92c3b14b812f6d507890336d19136 (diff)
[SPARC64]: Kill bogus function externs in asm/pgtable.h
These are all implemented inline earlier in the file. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc64/pgtable.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/asm-sparc64/pgtable.h b/include/asm-sparc64/pgtable.h
index 6c8126b2dec..75a2cd2d7e8 100644
--- a/include/asm-sparc64/pgtable.h
+++ b/include/asm-sparc64/pgtable.h
@@ -646,27 +646,6 @@ static inline unsigned long pte_present(pte_t pte)
646/* Same in both SUN4V and SUN4U. */ 646/* Same in both SUN4V and SUN4U. */
647#define pte_none(pte) (!pte_val(pte)) 647#define pte_none(pte) (!pte_val(pte))
648 648
649extern unsigned long pte_present(pte_t);
650
651/* The following only work if pte_present() is true.
652 * Undefined behaviour if not..
653 */
654extern unsigned long pte_read(pte_t);
655extern unsigned long pte_exec(pte_t);
656extern unsigned long pte_write(pte_t);
657extern unsigned long pte_dirty(pte_t);
658extern unsigned long pte_young(pte_t);
659extern pte_t pte_wrprotect(pte_t);
660extern pte_t pte_rdprotect(pte_t);
661extern pte_t pte_mkclean(pte_t);
662extern pte_t pte_mkold(pte_t);
663
664/* Be very careful when you change these three, they are delicate. */
665extern pte_t pte_mkyoung(pte_t);
666extern pte_t pte_mkwrite(pte_t);
667extern pte_t pte_mkdirty(pte_t);
668extern pte_t pte_mkhuge(pte_t);
669
670/* to find an entry in a page-table-directory. */ 649/* to find an entry in a page-table-directory. */
671#define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) 650#define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1))
672#define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) 651#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,
766 unsigned long pfn, 745 unsigned long pfn,
767 unsigned long size, pgprot_t prot); 746 unsigned long size, pgprot_t prot);
768 747
769/* Clear virtual and physical cachability, set side-effect bit. */
770extern pgprot_t pgprot_noncached(pgprot_t);
771
772/* 748/*
773 * For sparc32&64, the pfn in io_remap_pfn_range() carries <iospace> in 749 * For sparc32&64, the pfn in io_remap_pfn_range() carries <iospace> in
774 * its high 4 bits. These macros/functions put it there or get it from there. 750 * its high 4 bits. These macros/functions put it there or get it from there.