~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/powerpc/sysdev/fsl_85xx_cache_sram.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
                goto out_free;
107
107
        }
108
108
 
109
 
        cache_sram->base_virt = ioremap_flags(cache_sram->base_phys,
 
109
        cache_sram->base_virt = ioremap_prot(cache_sram->base_phys,
110
110
                                cache_sram->size, _PAGE_COHERENT | PAGE_KERNEL);
111
111
        if (!cache_sram->base_virt) {
112
 
                dev_err(&dev->dev, "%s: ioremap_flags failed\n",
 
112
                dev_err(&dev->dev, "%s: ioremap_prot failed\n",
113
113
                                dev->dev.of_node->full_name);
114
114
                ret = -ENOMEM;
115
115
                goto out_release;