Print this page
5606 support build with binutils 2.25
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Marcel Telka <marcel.telka@nexenta.com>
Reviewed by: Piotr Jasiukajtis <estibi@me.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>

@@ -21,12 +21,10 @@
 /*
  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/asm_linkage.h>
 #include <sys/asm_misc.h>
 #include <sys/regset.h>
 #include <sys/panic.h>
 #include <sys/ontrap.h>

@@ -196,12 +194,11 @@
         leave
         ret
         SET_SIZE(load_segment_registers)
 
         ENTRY_NP(get_cs_register)
-        movq    $0, %rax
-        movw    %cs, %rax
+        movq    %cs, %rax
         ret
         SET_SIZE(get_cs_register)
 
 #endif  /* __lint */
 #elif defined(__i386)