public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] SH: drop const from io port variiable
@ 2011-06-07 22:26 Andi Kleen
  2011-06-07 22:26 ` [PATCH 2/5] Fix mismatched variable in rcutree_trace.c Andi Kleen
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Andi Kleen @ 2011-06-07 22:26 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andi Kleen, lethal

From: Andi Kleen <ak@linux.intel.com>

The variable is modified elsewhere, so it should not be const.
If it was really const it would need to be __read_mostly_const.

Cc: lethal@linux-sh.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 arch/sh/kernel/ioport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/sh/kernel/ioport.c b/arch/sh/kernel/ioport.c
index e3ad610..cca14ba 100644
--- a/arch/sh/kernel/ioport.c
+++ b/arch/sh/kernel/ioport.c
@@ -11,7 +11,7 @@
 #include <linux/module.h>
 #include <linux/io.h>
 
-const unsigned long sh_io_port_base __read_mostly = -1;
+unsigned long sh_io_port_base __read_mostly = -1;
 EXPORT_SYMBOL(sh_io_port_base);
 
 void __iomem *__ioport_map(unsigned long addr, unsigned int size)
-- 
1.7.4.4


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-06-09  7:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-07 22:26 [PATCH 1/5] SH: drop const from io port variiable Andi Kleen
2011-06-07 22:26 ` [PATCH 2/5] Fix mismatched variable in rcutree_trace.c Andi Kleen
2011-06-07 22:42   ` Thomas Gleixner
2011-06-07 23:13     ` Paul E. McKenney
2011-06-07 23:43       ` Andi Kleen
2011-06-08  0:13         ` Paul E. McKenney
2011-06-07 22:26 ` [PATCH 3/5] IRDA: Fix global type conflicts in net/irda/irsysctl.c Andi Kleen
2011-06-09  7:29   ` David Miller
2011-06-07 22:26 ` [PATCH 4/5] ixgbe: Fix incorrect declaration of ixgbevf_mbx_ops Andi Kleen
2011-06-07 22:56   ` Rose, Gregory V
2011-06-08 19:04     ` Jeff Kirsher
2011-06-07 22:26 ` [PATCH 5/5] Avoid section type conflict in dma/ioat/dma_v3.c Andi Kleen
2011-06-07 23:07   ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox