summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/set_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/set_memory.h')
-rw-r--r--arch/powerpc/include/asm/set_memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/set_memory.h b/arch/powerpc/include/asm/set_memory.h
index 64011ea444b4..b040094f7920 100644
--- a/arch/powerpc/include/asm/set_memory.h
+++ b/arch/powerpc/include/asm/set_memory.h
@@ -29,4 +29,6 @@ static inline int set_memory_x(unsigned long addr, int numpages)
return change_memory_attr(addr, numpages, SET_MEMORY_X);
}
+int set_memory_attr(unsigned long addr, int numpages, pgprot_t prot);
+
#endif