Skip to contentSkip to conversation

H8/300 support update

PATCH New Yoshinori Sato 1 participant 1 message Oct 19, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 H8/300 support update

- fix build error

Signature · 2 lines
Yoshinori Sato
<[email protected]>
arch/h8300/kernel/time.c +5 -0
diff -Nru linux-2.6.0-test8/arch/h8300/kernel/time.c linux-2.6.0-test8-h8300/arch/h8300/kernel/time.c
@@ -143,3 +143,8 @@
 }
 
 EXPORT_SYMBOL(do_settimeofday);
+
+unsigned long long sched_clock(void)
+{
+	return (unsigned long long)jiffies * (1000000000 / HZ);
+}
arch/h8300/lib/checksum.c +0 -1
diff -Nru linux-2.6.0-test8/arch/h8300/lib/checksum.c linux-2.6.0-test8-h8300/arch/h8300/lib/checksum.c
@@ -32,7 +32,6 @@
    of the assembly has to go. */
 
 #include <net/checksum.h>
-#include <net/module.h>
 
 static inline unsigned short from32to16(unsigned long x)
 {