Simplify POST entry code by moving reboot logic from post.c to resume.c.
[seabios.git] / src / stacks.c
index 53bf66985880169140636e502b7dc6dc0f38f1c9..17495d5b47199676fe1d9622b4d72d97c079d5a7 100644 (file)
@@ -24,11 +24,6 @@ struct thread_info VAR32FLATVISIBLE MainThread = {
  * Low level helpers
  ****************************************************************/
 
-static inline u32 getcr0(void) {
-    u32 cr0;
-    asm("movl %%cr0, %0" : "=r"(cr0));
-    return cr0;
-}
 static inline void sgdt(struct descloc_s *desc) {
     asm("sgdtl %0" : "=m"(*desc));
 }