2007-01-23 05:56:36

by Daniel Walker

[permalink] [raw]
Subject: [PATCH 03/12] clocksource: arm initialize list value

Update arch/arm/ with list initialization.

Signed-Off-By: Daniel Walker <[email protected]>

---
arch/arm/mach-imx/time.c | 1 +
arch/arm/mach-ixp4xx/common.c | 1 +
arch/arm/mach-netx/time.c | 1 +
arch/arm/mach-pxa/time.c | 1 +
4 files changed, 4 insertions(+)

Index: linux-2.6.19/arch/arm/mach-imx/time.c
===================================================================
--- linux-2.6.19.orig/arch/arm/mach-imx/time.c
+++ linux-2.6.19/arch/arm/mach-imx/time.c
@@ -87,6 +87,7 @@ static struct clocksource clocksource_im
.read = imx_get_cycles,
.mask = 0xFFFFFFFF,
.shift = 20,
+ .list = LIST_HEAD_INIT(clocksource_imx.list),
.is_continuous = 1,
};

Index: linux-2.6.19/arch/arm/mach-ixp4xx/common.c
===================================================================
--- linux-2.6.19.orig/arch/arm/mach-ixp4xx/common.c
+++ linux-2.6.19/arch/arm/mach-ixp4xx/common.c
@@ -396,6 +396,7 @@ static struct clocksource clocksource_ix
.mask = CLOCKSOURCE_MASK(32),
.shift = 20,
.is_continuous = 1,
+ .list = LIST_HEAD_INIT(clocksource_ixp4xx.list),
};

unsigned long ixp4xx_timer_freq = FREQ;
Index: linux-2.6.19/arch/arm/mach-netx/time.c
===================================================================
--- linux-2.6.19.orig/arch/arm/mach-netx/time.c
+++ linux-2.6.19/arch/arm/mach-netx/time.c
@@ -62,6 +62,7 @@ static struct clocksource clocksource_ne
.read = netx_get_cycles,
.mask = CLOCKSOURCE_MASK(32),
.shift = 20,
+ .list = LIST_HEAD_INIT(clocksource_netx.list),
.is_continuous = 1,
};

Index: linux-2.6.19/arch/arm/mach-pxa/time.c
===================================================================
--- linux-2.6.19.orig/arch/arm/mach-pxa/time.c
+++ linux-2.6.19/arch/arm/mach-pxa/time.c
@@ -112,6 +112,7 @@ static struct clocksource clocksource_px
.read = pxa_get_cycles,
.mask = CLOCKSOURCE_MASK(32),
.shift = 20,
+ .list = LIST_HEAD_INIT(clocksource_pxa.list),
.is_continuous = 1,
};


--