diff options
author | Robert Mustacchi <rm@joyent.com> | 2015-11-04 18:17:54 -0800 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2015-11-30 10:47:57 -0800 |
commit | cbff3abd8ecaa7b8e6a47457e0a5e562dbfc2cad (patch) | |
tree | 56d9ce1de703c2b31560ce9898f877bcdc72d9bf | |
parent | 7a5aac98bc37534537d4896efd4efd30627d221e (diff) | |
download | illumos-gate-cbff3abd8ecaa7b8e6a47457e0a5e562dbfc2cad.tar.gz |
6457 ucopystr can't find its way home
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Dan McDonald <danmcd@omniti.com>
-rw-r--r-- | usr/src/uts/intel/ia32/ml/copy.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/intel/ia32/ml/copy.s b/usr/src/uts/intel/ia32/ml/copy.s index 6c2a15009a..3b4eef261d 100644 --- a/usr/src/uts/intel/ia32/ml/copy.s +++ b/usr/src/uts/intel/ia32/ml/copy.s @@ -2881,6 +2881,8 @@ ucopystr(const char *ufrom, char *uto, size_t umaxlength, size_t *lencopied) SET_SIZE(ucopy) ENTRY(ucopystr) + pushq %rbp + movq %rsp, %rbp movq kernelbase(%rip), %rax cmpq %rax, %rdi cmovaeq %rax, %rdi /* force fault at kernelbase */ |