summaryrefslogtreecommitdiffstats
path: root/arch/ppc/boot/vreset.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/boot/vreset.c')
-rw-r--r--arch/ppc/boot/vreset.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/ppc/boot/vreset.c b/arch/ppc/boot/vreset.c
index c01361dc6..dfabd72e7 100644
--- a/arch/ppc/boot/vreset.c
+++ b/arch/ppc/boot/vreset.c
@@ -19,12 +19,16 @@
*/
#include "iso_font.h"
-#include <linux/delay.h>
extern char *vidmem;
extern int lines, cols;
-/* estimate for delay */
-unsigned long loops_per_sec = 50000000;;
+
+static void mdelay(int ms)
+{
+ for (; ms > 0; --ms)
+ udelay(1000);
+}
+
/*
* VGA Register
*/