projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ARM] Fix another build error with IOP3xx platforms
[powerpc.git]
/
include
/
asm-ppc64
/
mmu.h
diff --git
a/include/asm-ppc64/mmu.h
b/include/asm-ppc64/mmu.h
index
7bc42eb
..
e0505ac
100644
(file)
--- a/
include/asm-ppc64/mmu.h
+++ b/
include/asm-ppc64/mmu.h
@@
-14,6
+14,7
@@
#define _PPC64_MMU_H_
#include <linux/config.h>
#define _PPC64_MMU_H_
#include <linux/config.h>
+#include <asm/ppc_asm.h> /* for ASM_CONST */
#include <asm/page.h>
/*
#include <asm/page.h>
/*
@@
-29,7
+30,7
@@
/* Location of cpu0's segment table */
#define STAB0_PAGE 0x6
/* Location of cpu0's segment table */
#define STAB0_PAGE 0x6
-#define STAB0_PHYS_ADDR (STAB0_PAGE<<
PAGE_SHIFT
)
+#define STAB0_PHYS_ADDR (STAB0_PAGE<<
12
)
#ifndef __ASSEMBLY__
extern char initial_stab[];
#ifndef __ASSEMBLY__
extern char initial_stab[];
@@
-205,6
+206,10
@@
extern long native_hpte_insert(unsigned long hpte_group, unsigned long va,
unsigned long prpn,
unsigned long vflags, unsigned long rflags);
unsigned long prpn,
unsigned long vflags, unsigned long rflags);
+extern long iSeries_hpte_bolt_or_insert(unsigned long hpte_group,
+ unsigned long va, unsigned long prpn,
+ unsigned long vflags, unsigned long rflags);
+
extern void stabs_alloc(void);
#endif /* __ASSEMBLY__ */
extern void stabs_alloc(void);
#endif /* __ASSEMBLY__ */