diff options
Diffstat (limited to 'sys/lib/libkern/arch/amd64/bzero.S')
-rw-r--r-- | sys/lib/libkern/arch/amd64/bzero.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/lib/libkern/arch/amd64/bzero.S b/sys/lib/libkern/arch/amd64/bzero.S index 354e2066ed3..a1c9a94d955 100644 --- a/sys/lib/libkern/arch/amd64/bzero.S +++ b/sys/lib/libkern/arch/amd64/bzero.S @@ -7,6 +7,7 @@ #include <machine/asm.h> ENTRY(bzero) + RETGUARD_SETUP(bzero, r11) movq %rsi,%rdx xorq %rax,%rax /* set fill data to 0 */ @@ -35,5 +36,5 @@ ENTRY(bzero) L1: movq %rdx,%rcx /* zero remainder by bytes */ rep stosb - + RETGUARD_CHECK(bzero, r11) ret |