git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-parisc
/
assembly.h
diff --git
a/include/asm-parisc/assembly.h
b/include/asm-parisc/assembly.h
index
5ba8c5c
..
56b5bd8
100644
(file)
--- a/
include/asm-parisc/assembly.h
+++ b/
include/asm-parisc/assembly.h
@@
-27,8
+27,10
@@
#define LDREGX ldd,s
#define LDREGM ldd,mb
#define STREGM std,ma
#define LDREGX ldd,s
#define LDREGM ldd,mb
#define STREGM std,ma
+#define SHRREG shrd
#define RP_OFFSET 16
#define FRAME_SIZE 128
#define RP_OFFSET 16
#define FRAME_SIZE 128
+#define CALLEE_SAVE_FRAME_SIZE 144
#else
#define LDREG ldw
#define STREG stw
#else
#define LDREG ldw
#define STREG stw
@@
-37,12
+39,19
@@
#define STREGM stwm
#define RP_OFFSET 20
#define FRAME_SIZE 64
#define STREGM stwm
#define RP_OFFSET 20
#define FRAME_SIZE 64
+#define CALLEE_SAVE_FRAME_SIZE 128
#endif
#ifdef CONFIG_PA20
#define BL b,l
#endif
#ifdef CONFIG_PA20
#define BL b,l
+# ifdef CONFIG_PARISC64
+# define LEVEL 2.0w
+# else
+# define LEVEL 2.0
+# endif
#else
#define BL bl
#else
#define BL bl
+#define LEVEL 1.1
#endif
#ifdef __ASSEMBLY__
#endif
#ifdef __ASSEMBLY__
@@
-292,7
+301,7
@@
#ifdef __LP64__
.macro callee_save
#ifdef __LP64__
.macro callee_save
- std,ma %r3,
144
(%r30)
+ std,ma %r3,
CALLEE_SAVE_FRAME_SIZE
(%r30)
mfctl %cr27, %r3
std %r4, -136(%r30)
std %r5, -128(%r30)
mfctl %cr27, %r3
std %r4, -136(%r30)
std %r5, -128(%r30)
@@
-330,13
+339,13
@@
ldd -128(%r30), %r5
ldd -136(%r30), %r4
mtctl %r3, %cr27
ldd -128(%r30), %r5
ldd -136(%r30), %r4
mtctl %r3, %cr27
- ldd,mb -
144
(%r30), %r3
+ ldd,mb -
CALLEE_SAVE_FRAME_SIZE
(%r30), %r3
.endm
#else /* ! __LP64__ */
.macro callee_save
.endm
#else /* ! __LP64__ */
.macro callee_save
- stw,ma %r3,
128
(%r30)
+ stw,ma %r3,
CALLEE_SAVE_FRAME_SIZE
(%r30)
mfctl %cr27, %r3
stw %r4, -124(%r30)
stw %r5, -120(%r30)
mfctl %cr27, %r3
stw %r4, -124(%r30)
stw %r5, -120(%r30)
@@
-374,7
+383,7
@@
ldw -120(%r30), %r5
ldw -124(%r30), %r4
mtctl %r3, %cr27
ldw -120(%r30), %r5
ldw -124(%r30), %r4
mtctl %r3, %cr27
- ldw,mb -
128
(%r30), %r3
+ ldw,mb -
CALLEE_SAVE_FRAME_SIZE
(%r30), %r3
.endm
#endif /* ! __LP64__ */
.endm
#endif /* ! __LP64__ */