linux-openmoko-devel: add missing patches (thanks mickey)
authorJan Lübbe <jluebbe@debian.org>
Sun, 14 Oct 2007 12:13:49 +0000 (12:13 +0000)
committerJan Lübbe <jluebbe@debian.org>
Sun, 14 Oct 2007 12:13:49 +0000 (12:13 +0000)
packages/linux/linux-openmoko-devel/hack-gta02-cpu.patch [new file with mode: 0644]
packages/linux/linux-openmoko-devel/printascii-2.6.23.patch [new file with mode: 0644]

diff --git a/packages/linux/linux-openmoko-devel/hack-gta02-cpu.patch b/packages/linux/linux-openmoko-devel/hack-gta02-cpu.patch
new file mode 100644 (file)
index 0000000..ef4e939
--- /dev/null
@@ -0,0 +1,21 @@
+Index: linux-2.6.22/arch/arm/mach-s3c2440/Kconfig
+===================================================================
+--- linux-2.6.22.orig/arch/arm/mach-s3c2440/Kconfig
++++ linux-2.6.22/arch/arm/mach-s3c2440/Kconfig
+@@ -69,14 +69,14 @@
+ config MACH_HXD8
+       bool "FIC HXD8"
+-      select CPU_S3C2440
++      select CPU_S3C2442
+       select SENSORS_PCF50606
+       help
+          Say Y here if you are using the FIC Neo1973 GSM Phone
+ config MACH_NEO1973_GTA02
+       bool "FIC Neo1973 GSM Phone (GTA02 Hardware)"
+-      select CPU_S3C2440
++      select CPU_S3C2442
+       select SENSORS_PCF50633
+       help
+          Say Y here if you are using the FIC Neo1973 GSM Phone
diff --git a/packages/linux/linux-openmoko-devel/printascii-2.6.23.patch b/packages/linux/linux-openmoko-devel/printascii-2.6.23.patch
new file mode 100644 (file)
index 0000000..4818ac6
--- /dev/null
@@ -0,0 +1,21 @@
+Index: linux-2.6.22/kernel/printk.c
+===================================================================
+--- linux-2.6.22.orig/kernel/printk.c
++++ linux-2.6.22/kernel/printk.c
+@@ -519,6 +519,8 @@
+ /* cpu currently holding logbuf_lock */
+ static volatile unsigned int printk_cpu = UINT_MAX;
++extern void printascii(const char *);
++
+ asmlinkage int vprintk(const char *fmt, va_list args)
+ {
+       unsigned long flags;
+@@ -541,6 +543,7 @@
+       /* Emit the output into the temporary buffer */
+       printed_len = vscnprintf(printk_buf, sizeof(printk_buf), fmt, args);
++    printascii(printk_buf);
+       /*
+        * Copy the output into log_buf.  If the caller didn't provide