From: Daniel Walker <dwalker@mvista.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 06/12] clocksource: i386 initialize list value
Date: Mon, 22 Jan 2007 21:53:01 -0800 [thread overview]
Message-ID: <20070123055346.375449283@mvista.com> (raw)
In-Reply-To: 20070123055255.338254780@mvista.com
[-- Attachment #1: clocksource_i386_list_init.patch --]
[-- Type: text/plain, Size: 1532 bytes --]
Update arch/i386/ with list initialization.
Signed-Off-By: Daniel Walker <dwalker@mvista.com>
---
arch/i386/kernel/hpet.c | 1 +
arch/i386/kernel/i8253.c | 1 +
arch/i386/kernel/tsc.c | 1 +
3 files changed, 3 insertions(+)
Index: linux-2.6.19/arch/i386/kernel/hpet.c
===================================================================
--- linux-2.6.19.orig/arch/i386/kernel/hpet.c
+++ linux-2.6.19/arch/i386/kernel/hpet.c
@@ -282,6 +282,7 @@ static struct clocksource clocksource_hp
.mask = HPET_MASK,
.shift = HPET_SHIFT,
.is_continuous = 1,
+ .list = LIST_HEAD_INIT(clocksource_hpet.list),
};
static int __init init_hpet_clocksource(void)
Index: linux-2.6.19/arch/i386/kernel/i8253.c
===================================================================
--- linux-2.6.19.orig/arch/i386/kernel/i8253.c
+++ linux-2.6.19/arch/i386/kernel/i8253.c
@@ -177,6 +177,7 @@ static struct clocksource clocksource_pi
.mask = CLOCKSOURCE_MASK(32),
.mult = 0,
.shift = 20,
+ .list = LIST_HEAD_INIT(clocksource_pit.list),
};
static int __init init_pit_clocksource(void)
Index: linux-2.6.19/arch/i386/kernel/tsc.c
===================================================================
--- linux-2.6.19.orig/arch/i386/kernel/tsc.c
+++ linux-2.6.19/arch/i386/kernel/tsc.c
@@ -352,6 +352,7 @@ static struct clocksource clocksource_ts
.shift = 22,
.update_callback = tsc_update_callback,
.is_continuous = 1,
+ .list = LIST_HEAD_INIT(clocksource_tsc.list),
};
static int tsc_update_callback(void)
--
next prev parent reply other threads:[~2007-01-23 5:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-23 5:52 [PATCH 00/12] clocksource/timekeeping cleanup Daniel Walker
2007-01-23 5:52 ` [PATCH 01/12] timekeeping: create kernel/time/timekeeping.c Daniel Walker
2007-01-23 5:52 ` [PATCH 02/12] clocksource: rating sorted list Daniel Walker
2007-01-23 5:52 ` [PATCH 03/12] clocksource: arm initialize list value Daniel Walker
2007-01-23 5:52 ` [PATCH 04/12] clocksource: avr32 " Daniel Walker
2007-01-23 12:42 ` Haavard Skinnemoen
2007-01-23 13:02 ` Daniel Walker
2007-01-23 13:44 ` Haavard Skinnemoen
2007-01-23 5:53 ` [PATCH 05/12] clocksource: mips " Daniel Walker
2007-01-23 5:53 ` Daniel Walker [this message]
2007-01-23 5:53 ` [PATCH 07/12] clocksource: x86_64 " Daniel Walker
2007-01-23 5:53 ` [PATCH 08/12] clocksource: driver " Daniel Walker
2007-01-23 5:53 ` [PATCH 09/12] clocksource: " Daniel Walker
2007-01-23 5:53 ` [PATCH 10/12] clocksource: add block notifier Daniel Walker
2007-01-23 5:53 ` [PATCH 11/12] clocksource: remove update_callback Daniel Walker
2007-01-23 5:53 ` [PATCH 12/12] clocksource: atomic signals Daniel Walker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070123055346.375449283@mvista.com \
--to=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox