Skip to contentSkip to conversation

sh fixes

GIT PULL Paul Mundt 1 participant 1 message Mar 28, 2007 SuperH

lore
Share & tools
lore

Paul Mundt

author
#0 lore raw

Please pull from:

master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.git

Which contains:

Kristoffer Ericson (1):
sh: Trivial fix for hp6xx build.

Paul Mundt (2):
sh: Kill bogus GCC4 symbol exports.
sh: Fixup __cmpxchg() compile breakage with gcc4.

 arch/sh/kernel/sh_ksyms.c |    3 ---
 include/asm-sh/hp6xx.h    |    6 +++---
 include/asm-sh/system.h   |    1 +
 3 files changed, 4 insertions(+), 6 deletions(-)
arch/sh/kernel/sh_ksyms.c +0 -3
index fe1b276..6e0d10f 100644
@@ -82,9 +82,6 @@ DECLARE_EXPORT(__movstr);
 DECLARE_EXPORT(__movmem_i4_even);
 DECLARE_EXPORT(__movmem_i4_odd);
 DECLARE_EXPORT(__movmemSI12_i4);
-DECLARE_EXPORT(__sdivsi3_i4i);
-DECLARE_EXPORT(__udiv_qrnnd_16);
-DECLARE_EXPORT(__udivsi3_i4i);
 #else /* GCC 3.x */
 DECLARE_EXPORT(__movstr_i4_even);
 DECLARE_EXPORT(__movstr_i4_odd);
include/asm-sh/hp6xx.h +3 -3
index f35134c..53ca564 100644
@@ -10,9 +10,9 @@
  *
  */
 
-#define HP680_BTN_IRQ		IRQ0_IRQ
-#define HP680_TS_IRQ		IRQ3_IRQ
-#define HP680_HD64461_IRQ	IRQ4_IRQ
+#define HP680_BTN_IRQ		32            /* IRQ0_IRQ */
+#define HP680_TS_IRQ		35            /* IRQ3_IRQ */
+#define HP680_HD64461_IRQ	36            /* IRQ4_IRQ */
 
 #define DAC_LCD_BRIGHTNESS	0
 #define DAC_SPEAKER_VOLUME	1
include/asm-sh/system.h +1 -0
index b1e42e7..4a6a19f 100644
@@ -7,6 +7,7 @@
  */
 
 #include <linux/irqflags.h>
+#include <linux/compiler.h>
 #include <asm/types.h>
 
 /*