* [PATCH] x86: Don't put iommu_shutdown_noop() in init section
@ 2009-11-16 2:44 Hiroshi Shimamoto
2009-11-16 3:49 ` FUJITA Tomonori
2009-11-16 9:03 ` [tip:core/iommu] " tip-bot for Hiroshi Shimamoto
0 siblings, 2 replies; 3+ messages in thread
From: Hiroshi Shimamoto @ 2009-11-16 2:44 UTC (permalink / raw)
To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin, FUJITA Tomonori
Cc: linux-kernel@vger.kernel.org
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
It causes kernel panic on shutdown or reboot.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
arch/x86/kernel/x86_init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c
index 80f3ae2..d11c5ff 100644
--- a/arch/x86/kernel/x86_init.c
+++ b/arch/x86/kernel/x86_init.c
@@ -20,7 +20,7 @@ void __cpuinit x86_init_noop(void) { }
void __init x86_init_uint_noop(unsigned int unused) { }
void __init x86_init_pgd_noop(pgd_t *unused) { }
int __init iommu_init_noop(void) { return 0; }
-void __init iommu_shutdown_noop(void) { }
+void iommu_shutdown_noop(void) { }
/*
* The platform setup functions are preset with the default functions
--
1.6.3.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] x86: Don't put iommu_shutdown_noop() in init section
2009-11-16 2:44 [PATCH] x86: Don't put iommu_shutdown_noop() in init section Hiroshi Shimamoto
@ 2009-11-16 3:49 ` FUJITA Tomonori
2009-11-16 9:03 ` [tip:core/iommu] " tip-bot for Hiroshi Shimamoto
1 sibling, 0 replies; 3+ messages in thread
From: FUJITA Tomonori @ 2009-11-16 3:49 UTC (permalink / raw)
To: h-shimamoto; +Cc: mingo, tglx, hpa, fujita.tomonori, linux-kernel
On Mon, 16 Nov 2009 11:44:30 +0900
Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> wrote:
> From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
>
> It causes kernel panic on shutdown or reboot.
>
> Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
> ---
> arch/x86/kernel/x86_init.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Duh, sorry about that.
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:core/iommu] x86: Don't put iommu_shutdown_noop() in init section
2009-11-16 2:44 [PATCH] x86: Don't put iommu_shutdown_noop() in init section Hiroshi Shimamoto
2009-11-16 3:49 ` FUJITA Tomonori
@ 2009-11-16 9:03 ` tip-bot for Hiroshi Shimamoto
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Hiroshi Shimamoto @ 2009-11-16 9:03 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, h-shimamoto, hpa, mingo, fujita.tomonori, tglx,
mingo
Commit-ID: 62ad33f67003b9a7b6013f0511579b9805e11626
Gitweb: http://git.kernel.org/tip/62ad33f67003b9a7b6013f0511579b9805e11626
Author: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
AuthorDate: Mon, 16 Nov 2009 11:44:30 +0900
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Mon, 16 Nov 2009 08:58:51 +0100
x86: Don't put iommu_shutdown_noop() in init section
It causes kernel panic on shutdown or reboot.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
LKML-Reference: <4B00BC8E.50801@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/kernel/x86_init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c
index 80f3ae2..d11c5ff 100644
--- a/arch/x86/kernel/x86_init.c
+++ b/arch/x86/kernel/x86_init.c
@@ -20,7 +20,7 @@ void __cpuinit x86_init_noop(void) { }
void __init x86_init_uint_noop(unsigned int unused) { }
void __init x86_init_pgd_noop(pgd_t *unused) { }
int __init iommu_init_noop(void) { return 0; }
-void __init iommu_shutdown_noop(void) { }
+void iommu_shutdown_noop(void) { }
/*
* The platform setup functions are preset with the default functions
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-16 9:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-16 2:44 [PATCH] x86: Don't put iommu_shutdown_noop() in init section Hiroshi Shimamoto
2009-11-16 3:49 ` FUJITA Tomonori
2009-11-16 9:03 ` [tip:core/iommu] " tip-bot for Hiroshi Shimamoto
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.