]> pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/asm-powerpc/cpm.h
KVM: MMU: Avoid calling gfn_to_page() in mmu_set_spte()
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / cpm.h
1 #ifndef __CPM_H
2 #define __CPM_H
3
4 #include <linux/compiler.h>
5 #include <linux/types.h>
6
7 int cpm_muram_init(void);
8 unsigned long cpm_muram_alloc(unsigned long size, unsigned long align);
9 int cpm_muram_free(unsigned long offset);
10 unsigned long cpm_muram_alloc_fixed(unsigned long offset, unsigned long size);
11 void __iomem *cpm_muram_addr(unsigned long offset);
12 dma_addr_t cpm_muram_dma(void __iomem *addr);
13
14 #endif