update for HEAD-2003091401
[reactos.git] / ntoskrnl / nt / profile.c
index 12ff554..7263ef3 100644 (file)
@@ -27,7 +27,8 @@
 
 /* INCLUDES *****************************************************************/
 
-#include <ddk/ntddk.h>
+#define NTOS_MODE_KERNEL
+#include <ntos.h>
 #include <internal/mm.h>
 #include <internal/ps.h>
 #include <internal/pool.h>
@@ -327,7 +328,7 @@ VOID KiRemoveProfile(PKPROFILE Profile)
 
          current_entry = current_entry->Flink;
        }
-      KeBugCheck(0);
+      KEBUGCHECK(0);
     }
 
   KeReleaseSpinLock(&ProfileListLock, oldIrql);
@@ -457,7 +458,7 @@ NtCreateProfile(OUT PHANDLE UnsafeProfileHandle,
   /*
    * Create the object
    */
-  Status = ObCreateObject(&ProfileHandle,
+  Status = ObRosCreateObject(&ProfileHandle,
                          STANDARD_RIGHTS_ALL,
                          NULL,
                          ExProfileObjectType,