Message ID | 1269295798-5215-1-git-send-email-matt@console-pimps.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 3fe0f36c7edcd20af0a3cafc68bdd62534c0a7f0 |
Headers | show |
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c index a4662e2..dda628e 100644 --- a/arch/sh/mm/pmb.c +++ b/arch/sh/mm/pmb.c @@ -323,6 +323,7 @@ static void __clear_pmb_entry(struct pmb_entry *pmbe) writel_uncached(data_val & ~PMB_V, data); } +#ifdef CONFIG_PM static void set_pmb_entry(struct pmb_entry *pmbe) { unsigned long flags; @@ -331,6 +332,7 @@ static void set_pmb_entry(struct pmb_entry *pmbe) __set_pmb_entry(pmbe); spin_unlock_irqrestore(&pmbe->lock, flags); } +#endif /* CONFIG_PM */ int pmb_bolt_mapping(unsigned long vaddr, phys_addr_t phys, unsigned long size, pgprot_t prot)