summaryrefslogtreecommitdiffstats
path: root/arch/alpha/lib/strncpy_from_user.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/lib/strncpy_from_user.S')
-rw-r--r--arch/alpha/lib/strncpy_from_user.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/alpha/lib/strncpy_from_user.S b/arch/alpha/lib/strncpy_from_user.S
index aff7c1d2b..998450196 100644
--- a/arch/alpha/lib/strncpy_from_user.S
+++ b/arch/alpha/lib/strncpy_from_user.S
@@ -31,6 +31,7 @@
.globl __strncpy_from_user
.ent __strncpy_from_user
.frame $30, 0, $26
+ .prologue 1
.align 3
$aligned:
@@ -99,6 +100,7 @@ $a_eoc:
/*** The Function Entry Point ***/
.align 3
__strncpy_from_user:
+ ldgp $29, 0($27) # we do exceptions -- we need the gp.
mov a0, v0 # save the string start
beq a2, $zerolength