linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: cache-l2x0: move 'l2_wt_override' variable to proper place
@ 2012-11-07  6:03 Jingoo Han
  2012-11-07  9:34 ` Russell King - ARM Linux
  0 siblings, 1 reply; 3+ messages in thread
From: Jingoo Han @ 2012-11-07  6:03 UTC (permalink / raw)
  To: linux-arm-kernel

Fixed build warning as below:

arch/arm/mm/cache-l2x0.c:37:12: warning: 'l2_wt_override' defined but not used [-Wunused-variable]

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 arch/arm/mm/cache-l2x0.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mm/cache-l2x0.c b/arch/arm/mm/cache-l2x0.c
index 92ee4a0..920a704 100644
--- a/arch/arm/mm/cache-l2x0.c
+++ b/arch/arm/mm/cache-l2x0.c
@@ -34,7 +34,6 @@ static DEFINE_RAW_SPINLOCK(l2x0_lock);
 static u32 l2x0_way_mask;	/* Bitmask of active ways */
 static u32 l2x0_size;
 static unsigned long sync_reg_offset = L2X0_CACHE_SYNC;
-static int l2_wt_override;
 
 /* Aurora don't have the cache ID register available, so we have to
  * pass it though the device tree */
@@ -429,6 +428,8 @@ void __init l2x0_init(void __iomem *base, u32 aux_val, u32 aux_mask)
  * noninclusive, while the hardware cache range operations use
  * inclusive start and end addresses.
  */
+static int l2_wt_override;
+
 static unsigned long calc_range_end(unsigned long start, unsigned long end)
 {
 	/*
-- 
1.7.1

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

* [PATCH] ARM: cache-l2x0: move 'l2_wt_override' variable to proper place
  2012-11-07  6:03 [PATCH] ARM: cache-l2x0: move 'l2_wt_override' variable to proper place Jingoo Han
@ 2012-11-07  9:34 ` Russell King - ARM Linux
  2012-11-08  0:44   ` Jingoo Han
  0 siblings, 1 reply; 3+ messages in thread
From: Russell King - ARM Linux @ 2012-11-07  9:34 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Nov 07, 2012 at 03:03:36PM +0900, Jingoo Han wrote:
> Fixed build warning as below:
> 
> arch/arm/mm/cache-l2x0.c:37:12: warning: 'l2_wt_override' defined but not used [-Wunused-variable]

You're too late with this; it's already been resolved.

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

* [PATCH] ARM: cache-l2x0: move 'l2_wt_override' variable to proper place
  2012-11-07  9:34 ` Russell King - ARM Linux
@ 2012-11-08  0:44   ` Jingoo Han
  0 siblings, 0 replies; 3+ messages in thread
From: Jingoo Han @ 2012-11-08  0:44 UTC (permalink / raw)
  To: linux-arm-kernel

On Wednesday, November 07, 2012 6:34 PM Russell King wrote
> 
> On Wed, Nov 07, 2012 at 03:03:36PM +0900, Jingoo Han wrote:
> > Fixed build warning as below:
> >
> > arch/arm/mm/cache-l2x0.c:37:12: warning: 'l2_wt_override' defined but not used [-Wunused-variable]
> 
> You're too late with this; it's already been resolved.

OK, I see. :)

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

end of thread, other threads:[~2012-11-08  0:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-07  6:03 [PATCH] ARM: cache-l2x0: move 'l2_wt_override' variable to proper place Jingoo Han
2012-11-07  9:34 ` Russell King - ARM Linux
2012-11-08  0:44   ` Jingoo Han

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).