From: Daniel Walker <dwalker@mvista.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org, johnstul@us.ibm.com
Subject: [PATCH 5/9] clocksource: i386 initialize list value
Date: Fri, 30 Mar 2007 11:45:46 -0700 [thread overview]
Message-ID: <20070330184615.200655288@mvista.com> (raw)
In-Reply-To: 20070330184541.583153763@mvista.com
[-- Attachment #1: clocksource_i386_list_init.patch --]
[-- Type: text/plain, Size: 1976 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 +
arch/i386/kernel/vmitime.c | 1 +
4 files changed, 4 insertions(+)
Index: linux-2.6.20/arch/i386/kernel/hpet.c
===================================================================
--- linux-2.6.20.orig/arch/i386/kernel/hpet.c
+++ linux-2.6.20/arch/i386/kernel/hpet.c
@@ -215,6 +215,7 @@ static struct clocksource clocksource_hp
.mask = HPET_MASK,
.shift = HPET_SHIFT,
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
+ .list = LIST_HEAD_INIT(clocksource_hpet.list),
};
/*
Index: linux-2.6.20/arch/i386/kernel/i8253.c
===================================================================
--- linux-2.6.20.orig/arch/i386/kernel/i8253.c
+++ linux-2.6.20/arch/i386/kernel/i8253.c
@@ -193,6 +193,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.20/arch/i386/kernel/tsc.c
===================================================================
--- linux-2.6.20.orig/arch/i386/kernel/tsc.c
+++ linux-2.6.20/arch/i386/kernel/tsc.c
@@ -279,6 +279,7 @@ static struct clocksource clocksource_ts
.shift = 22,
.flags = CLOCK_SOURCE_IS_CONTINUOUS |
CLOCK_SOURCE_MUST_VERIFY,
+ .list = LIST_HEAD_INIT(clocksource_tsc.list),
};
void mark_tsc_unstable(char *reason)
Index: linux-2.6.20/arch/i386/kernel/vmitime.c
===================================================================
--- linux-2.6.20.orig/arch/i386/kernel/vmitime.c
+++ linux-2.6.20/arch/i386/kernel/vmitime.c
@@ -116,6 +116,7 @@ static struct clocksource clocksource_vm
.mult = 0, /* to be set */
.shift = 22,
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
+ .list = LIST_HEAD_INIT(clocksource_vmi.list),
};
--
next prev parent reply other threads:[~2007-03-30 18:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-30 18:45 [PATCH 1/9] clocksource: arm initialize list value Daniel Walker
2007-03-30 18:45 ` [PATCH 2/9] clocksource: parisc " Daniel Walker
2007-03-30 18:45 ` [PATCH 3/9] clocksource: avr32 " Daniel Walker
2007-03-30 18:45 ` [PATCH 4/9] clocksource: mips " Daniel Walker
2007-03-30 18:45 ` Daniel Walker [this message]
2007-03-30 18:45 ` [PATCH 6/9] clocksource: x86_64 " Daniel Walker
2007-03-30 18:45 ` [PATCH 7/9] clocksource: driver " Daniel Walker
2007-03-30 18:45 ` [PATCH 8/9] clocksource: s390 " Daniel Walker
2007-03-30 19:09 ` Heiko Carstens
2007-03-30 19:19 ` Daniel Walker
2007-03-30 19:36 ` Heiko Carstens
2007-03-30 18:45 ` [PATCH 9/9] clocksource: refactor duplicate registration checking Daniel Walker
2007-03-31 1:59 ` James Morris
2007-03-31 2:47 ` 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=20070330184615.200655288@mvista.com \
--to=dwalker@mvista.com \
--cc=akpm@linux-foundation.org \
--cc=johnstul@us.ibm.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