voilatile-setup.c.patch : Adding patch needed by linux-jlime-sh3-2.6.16
authorKristoffer Ericson <kristoffer_e1@hotmail.com>
Fri, 9 Jun 2006 01:50:46 +0000 (01:50 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 9 Jun 2006 01:50:46 +0000 (01:50 +0000)
* Makes setup.c not go up in flames by gcc 4.1.1

packages/linux/linux-jlime-sh3-2.6.16.20/volatile-setup.c.patch [new file with mode: 0644]

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 (file)
index 0000000..48a84b7
--- /dev/null
@@ -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",