aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r--include/asm-powerpc/ppc_asm.h8
-rw-r--r--include/asm-powerpc/reg.h1
-rw-r--r--include/asm-powerpc/xmon.h2
3 files changed, 10 insertions, 1 deletions
diff --git a/include/asm-powerpc/ppc_asm.h b/include/asm-powerpc/ppc_asm.h
index 470d7400ac59..f99f2af82ca5 100644
--- a/include/asm-powerpc/ppc_asm.h
+++ b/include/asm-powerpc/ppc_asm.h
@@ -188,6 +188,10 @@ n:
188#define LDL ld 188#define LDL ld
189#define STL std 189#define STL std
190#define CMPI cmpdi 190#define CMPI cmpdi
191#define SZL 8
192
193/* offsets for stack frame layout */
194#define LRSAVE 16
191 195
192#else /* 32-bit */ 196#else /* 32-bit */
193#define LOADADDR(rn,name) \ 197#define LOADADDR(rn,name) \
@@ -203,6 +207,10 @@ n:
203#define LDL lwz 207#define LDL lwz
204#define STL stw 208#define STL stw
205#define CMPI cmpwi 209#define CMPI cmpwi
210#define SZL 4
211
212/* offsets for stack frame layout */
213#define LRSAVE 4
206 214
207#endif 215#endif
208 216
diff --git a/include/asm-powerpc/reg.h b/include/asm-powerpc/reg.h
index bfb45a4523d3..da848412f11b 100644
--- a/include/asm-powerpc/reg.h
+++ b/include/asm-powerpc/reg.h
@@ -546,6 +546,7 @@
546#define __mtmsrd(v, l) asm volatile("mtmsrd %0," __stringify(l) \ 546#define __mtmsrd(v, l) asm volatile("mtmsrd %0," __stringify(l) \
547 : : "r" (v)) 547 : : "r" (v))
548#define mtmsrd(v) __mtmsrd((v), 0) 548#define mtmsrd(v) __mtmsrd((v), 0)
549#define mtmsr(v) mtmsrd(v)
549#else 550#else
550#define mtmsr(v) asm volatile("mtmsr %0" : : "r" (v)) 551#define mtmsr(v) asm volatile("mtmsr %0" : : "r" (v))
551#endif 552#endif
diff --git a/include/asm-powerpc/xmon.h b/include/asm-powerpc/xmon.h
index ca5f33277e0c..43f7129984c7 100644
--- a/include/asm-powerpc/xmon.h
+++ b/include/asm-powerpc/xmon.h
@@ -4,7 +4,7 @@
4 4
5struct pt_regs; 5struct pt_regs;
6 6
7extern void xmon(struct pt_regs *excp); 7extern int xmon(struct pt_regs *excp);
8extern void xmon_printf(const char *fmt, ...); 8extern void xmon_printf(const char *fmt, ...);
9extern void xmon_init(int); 9extern void xmon_init(int);
10 10