]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
changed rate of pseudo-clockk to avoid USB stalls
authorphcoder <phcoder@debian.bg45.phnet>
Mon, 19 Oct 2009 16:09:13 +0000 (18:09 +0200)
committerphcoder <phcoder@debian.bg45.phnet>
Mon, 19 Oct 2009 16:09:13 +0000 (18:09 +0200)
kern/mips/yeeloong/init.c

index eece6076ca249ff577d9f96d9ad099048c56f9e2..0b2bff0513c30e9678066b3374d7cbb9765f37ae 100644 (file)
@@ -15,8 +15,9 @@
 grub_uint32_t
 grub_get_rtc (void)
 {
-  static int calln = 0;
-  return calln++;
+  static grub_uint64_t calln = 0;
+
+  return (calln++) >> 8;
 }
 
 void