[REACTOS] Cleanup INIT and some PAGE section allocations
[reactos.git] / ntoskrnl / ke / bug.c
index 5d5a4a7..f7b9175 100644 (file)
 #define NDEBUG
 #include <debug.h>
 
-#if defined (ALLOC_PRAGMA)
-#pragma alloc_text(INIT, KiInitializeBugCheck)
-#endif
-
 /* GLOBALS *******************************************************************/
 
 LIST_ENTRY KeBugcheckCallbackListHead;
@@ -295,7 +291,7 @@ KeRosDumpStackFrames(IN PULONG_PTR Frame OPTIONAL,
     }
 }
 
-INIT_FUNCTION
+CODE_SEG("INIT")
 VOID
 NTAPI
 KiInitializeBugCheck(VOID)