|
@@ -30,6 +30,7 @@
|
|
|
#define PMB_NO_ENTRY (-1)
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
+#include <linux/errno.h>
|
|
|
|
|
|
/* Default "unsigned long" context */
|
|
|
typedef unsigned long mm_context_id_t[NR_CPUS];
|
|
@@ -75,7 +76,7 @@ int pmb_init(void);
|
|
|
static inline long pmb_remap(unsigned long virt, unsigned long phys,
|
|
|
unsigned long size, unsigned long flags)
|
|
|
{
|
|
|
- return -EINVAL
|
|
|
+ return -EINVAL;
|
|
|
}
|
|
|
|
|
|
static inline void pmb_unmap(unsigned long addr)
|