Author: tkreuzer
Date: Tue Dec 9 09:50:10 2008
New Revision: 37969
URL:
http://svn.reactos.org/svn/reactos?rev=37969&view=rev
Log:
fix Ke386SetCr2
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/intrin_i.h
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/intrin_i.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/intrin_i.h
[iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/amd64/intrin_i.h
[iso-8859-1] Tue Dec 9 09:50:10 2008
@@ -106,7 +106,7 @@
//
// CR Macros
//
-#define Ke386SetCr2(X) __asm__ __volatile__("movl %0,%%cr2" :
:"r" (X));
+#define Ke386SetCr2(X) __asm__ __volatile__("movq %0,%%cr2" :
:"r" ((void*)X));
//
// DR Macros