summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristoffer Ericson <kristoffer_e1@hotmail.com>2006-06-09 01:50:46 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-09 01:50:46 +0000
commit5c1454f8224d570191c33f277a2ab2472f75c2c3 (patch)
treeca98bfa070d3f0c83f378dda59c4ddf8fe70359e
parent07add65872d36cec36413e102ccc435b61818ea8 (diff)
voilatile-setup.c.patch : Adding patch needed by linux-jlime-sh3-2.6.16
* Makes setup.c not go up in flames by gcc 4.1.1
-rw-r--r--packages/linux/linux-jlime-sh3-2.6.16.20/volatile-setup.c.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/linux/linux-jlime-sh3-2.6.16.20/volatile-setup.c.patch b/packages/linux/linux-jlime-sh3-2.6.16.20/volatile-setup.c.patch
new file mode 100644
index 0000000000..48a84b7484
--- /dev/null
+++ b/packages/linux/linux-jlime-sh3-2.6.16.20/volatile-setup.c.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.16.20/arch/sh/cchips/hd6446x/hd64461/setup.c_orig 2006-06-09 00:49:01.000000000 +0000
++++ linux-2.6.16.20/arch/sh/cchips/hd6446x/hd64461/setup.c 2006-06-09 00:49:16.000000000 +0000
+@@ -79,7 +79,7 @@
+ .end = end_hd64461_irq,
+ };
+
+-static irqreturn_t hd64461_interrupt(int irq, void *dev_id, struct pt_regs *regs)
++static irqreturn_t hd64461_interrupt(int irq, void *dev_id, volatile struct pt_regs *regs)
+ {
+ printk(KERN_INFO
+ "HD64461: spurious interrupt, nirr: 0x%x nimr: 0x%x\n",