* [patch 1/3] IA64: put kdump_find_rsvd_region in __init
@ 2007-03-06 7:28 Horms
2007-03-06 8:34 ` Zou, Nanhai
2007-03-07 1:03 ` Horms
0 siblings, 2 replies; 3+ messages in thread
From: Horms @ 2007-03-06 7:28 UTC (permalink / raw)
To: linux-ia64
kdump_find_rsvd_region() is only called by
reserve_memory() which is in __init, so it seems that
kdump_find_rsvd_region() should also be in there.
Signed-off-by: Simon Horman <horms@verge.net.au>
Index: linux-2.6/arch/ia64/kernel/efi.c
=================================--- linux-2.6.orig/arch/ia64/kernel/efi.c 2007-03-06 16:30:10.000000000 +0900
+++ linux-2.6/arch/ia64/kernel/efi.c 2007-03-06 16:30:13.000000000 +0900
@@ -1136,7 +1136,7 @@
/* find a block of memory aligned to 64M exclude reserved regions
rsvd_regions are sorted
*/
-unsigned long
+unsigned long __init
kdump_find_rsvd_region (unsigned long size,
struct rsvd_region *r, int n)
{
--
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [patch 1/3] IA64: put kdump_find_rsvd_region in __init
2007-03-06 7:28 [patch 1/3] IA64: put kdump_find_rsvd_region in __init Horms
@ 2007-03-06 8:34 ` Zou, Nanhai
2007-03-07 1:03 ` Horms
1 sibling, 0 replies; 3+ messages in thread
From: Zou, Nanhai @ 2007-03-06 8:34 UTC (permalink / raw)
To: linux-ia64
> -----Original Message-----
> From: Horms [mailto:horms@verge.net.au]
> Sent: 2007Äê3ÔÂ6ÈÕ 15:29
> To: Linux-IA64; fastboot@lists.osdl.org
> Cc: Luck, Tony; Zou, Nanhai; Magnus Damm
> Subject: [patch 1/3] IA64: put kdump_find_rsvd_region in __init
>
> kdump_find_rsvd_region() is only called by
> reserve_memory() which is in __init, so it seems that
> kdump_find_rsvd_region() should also be in there.
>
> Signed-off-by: Simon Horman <horms@verge.net.au>
>
> Index: linux-2.6/arch/ia64/kernel/efi.c
> =================================> --- linux-2.6.orig/arch/ia64/kernel/efi.c 2007-03-06 16:30:10.000000000
> +0900
> +++ linux-2.6/arch/ia64/kernel/efi.c 2007-03-06 16:30:13.000000000 +0900
> @@ -1136,7 +1136,7 @@
> /* find a block of memory aligned to 64M exclude reserved regions
> rsvd_regions are sorted
> */
> -unsigned long
> +unsigned long __init
> kdump_find_rsvd_region (unsigned long size,
> struct rsvd_region *r, int n)
> {
>
> --
>
This patch looks good to me.
Zou Nan hai
> --
> Horms
> H: http://www.vergenet.net/~horms/
> W: http://www.valinux.co.jp/en/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch 1/3] IA64: put kdump_find_rsvd_region in __init
2007-03-06 7:28 [patch 1/3] IA64: put kdump_find_rsvd_region in __init Horms
2007-03-06 8:34 ` Zou, Nanhai
@ 2007-03-07 1:03 ` Horms
1 sibling, 0 replies; 3+ messages in thread
From: Horms @ 2007-03-07 1:03 UTC (permalink / raw)
To: linux-ia64
On Tue, Mar 06, 2007 at 04:34:44PM +0800, Zou, Nanhai wrote:
> > -----Original Message-----
> > From: Horms [mailto:horms@verge.net.au]
> > Sent: 2007年3月6日 15:29
> > To: Linux-IA64; fastboot@lists.osdl.org
> > Cc: Luck, Tony; Zou, Nanhai; Magnus Damm
> > Subject: [patch 1/3] IA64: put kdump_find_rsvd_region in __init
> >
> > kdump_find_rsvd_region() is only called by
> > reserve_memory() which is in __init, so it seems that
> > kdump_find_rsvd_region() should also be in there.
> >
> > Signed-off-by: Simon Horman <horms@verge.net.au>
> >
> > Index: linux-2.6/arch/ia64/kernel/efi.c
> > =================================> > --- linux-2.6.orig/arch/ia64/kernel/efi.c 2007-03-06 16:30:10.000000000
> > +0900
> > +++ linux-2.6/arch/ia64/kernel/efi.c 2007-03-06 16:30:13.000000000 +0900
> > @@ -1136,7 +1136,7 @@
> > /* find a block of memory aligned to 64M exclude reserved regions
> > rsvd_regions are sorted
> > */
> > -unsigned long
> > +unsigned long __init
> > kdump_find_rsvd_region (unsigned long size,
> > struct rsvd_region *r, int n)
> > {
> >
> > --
> >
> This patch looks good to me.
Thanks, it it ok if I repost the patch with Acked-by: you ?
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-07 1:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-06 7:28 [patch 1/3] IA64: put kdump_find_rsvd_region in __init Horms
2007-03-06 8:34 ` Zou, Nanhai
2007-03-07 1:03 ` Horms
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox