init_32.c (6206aa8b2b9a45b4cf3ee31b7209b014be349fd9) init_32.c (6943f3da3e64edd95ee2d33abc0a642357746ba6)
1/*
2 * linux/arch/sparc/mm/init.c
3 *
4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
5 * Copyright (C) 1995 Eddie C. Dost (ecd@skynet.be)
6 * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
7 * Copyright (C) 2000 Anton Blanchard (anton@samba.org)
8 */

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

33#include <asm/vaddrs.h>
34#include <asm/pgalloc.h> /* bug in asm-generic/tlb.h: check_pgt_cache */
35#include <asm/tlb.h>
36#include <asm/prom.h>
37
38DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
39
40unsigned long *sparc_valid_addr_bitmap;
1/*
2 * linux/arch/sparc/mm/init.c
3 *
4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
5 * Copyright (C) 1995 Eddie C. Dost (ecd@skynet.be)
6 * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
7 * Copyright (C) 2000 Anton Blanchard (anton@samba.org)
8 */

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

33#include <asm/vaddrs.h>
34#include <asm/pgalloc.h> /* bug in asm-generic/tlb.h: check_pgt_cache */
35#include <asm/tlb.h>
36#include <asm/prom.h>
37
38DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
39
40unsigned long *sparc_valid_addr_bitmap;
41EXPORT_SYMBOL(sparc_valid_addr_bitmap);
41
42unsigned long phys_base;
42
43unsigned long phys_base;
44EXPORT_SYMBOL(phys_base);
45
43unsigned long pfn_base;
46unsigned long pfn_base;
47EXPORT_SYMBOL(pfn_base);
44
45unsigned long page_kernel;
48
49unsigned long page_kernel;
50EXPORT_SYMBOL(page_kernel);
46
47struct sparc_phys_banks sp_banks[SPARC_PHYS_BANKS+1];
48unsigned long sparc_unmapped_base;
49
50struct pgtable_cache_struct pgt_quicklists;
51
52/* Initial ramdisk setup */
53extern unsigned int sparc_ramdisk_image;

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

517
518void sparc_flush_page_to_ram(struct page *page)
519{
520 unsigned long vaddr = (unsigned long)page_address(page);
521
522 if (vaddr)
523 __flush_page_to_ram(vaddr);
524}
51
52struct sparc_phys_banks sp_banks[SPARC_PHYS_BANKS+1];
53unsigned long sparc_unmapped_base;
54
55struct pgtable_cache_struct pgt_quicklists;
56
57/* Initial ramdisk setup */
58extern unsigned int sparc_ramdisk_image;

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

522
523void sparc_flush_page_to_ram(struct page *page)
524{
525 unsigned long vaddr = (unsigned long)page_address(page);
526
527 if (vaddr)
528 __flush_page_to_ram(vaddr);
529}
530EXPORT_SYMBOL(sparc_flush_page_to_ram);