Skip to content

Commit

Permalink
sh: Fix up NUMA build for 29-bit.
Browse files Browse the repository at this point in the history
pmb_bolt_mapping() is undefined on 29-bit builds, so provide a stub.
This fixes up the NUMA build on platforms lacking PMB support.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Mar 10, 2010
1 parent 04e82ff commit 089b43f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/sh/include/asm/mmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ int pmb_unmap(void __iomem *addr);

#else

static inline int
pmb_bolt_mapping(unsigned long virt, phys_addr_t phys,
unsigned long size, pgprot_t prot)
{
return -EINVAL;
}

static inline void __iomem *
pmb_remap_caller(phys_addr_t phys, unsigned long size,
pgprot_t prot, void *caller)
Expand Down

0 comments on commit 089b43f

Please sign in to comment.