login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
21
Re:[PATCH] x86-64: fix two modpost warnings in mm/init_64.c
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Rufus & Azrael <rufus-azrael@...>
To: Linux-kernel Mailing List <linux-kernel@...>
Cc: Jan Beulich <jbeulich@...>, Alan Cox <alan@...>, Ingo Molnar <mingo@...>, Marcin Slusarz <marcin.slusarz@...>
Subject:
Re:[PATCH] x86-64: fix two modpost warnings in mm/init_64.c
Date: Thursday, August 21, 2008 - 10:06 am
> early_io{re,un}map() are __init and hence can't be called from __meminit
quoted text
> functions. > Signed-off-by: Jan Beulich<jbeulich@novell.com> > > --- > arch/x86/mm/init_64.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > --- linux-2.6.27-rc4/arch/x86/mm/init_64.c 2008-08-21 15:02:41.000000000 +0200 > +++ 2.6.27-rc4-x86_64-modpost-mm-init/arch/x86/mm/init_64.c 2008-08-21 11:49:44.000000000 +0200 > @@ -241,7 +241,7 @@ static unsigned long __initdata table_st > static unsigned long __meminitdata table_end; > static unsigned long __meminitdata table_top; > > -static __meminit void *alloc_low_page(unsigned long *phys) > +static __ref void *alloc_low_page(unsigned long *phys) > { > unsigned long pfn = table_end++; > void *adr; > @@ -262,7 +262,7 @@ static __meminit void *alloc_low_page(un > return adr; > } > > -static __meminit void unmap_low_page(void *adr) > +static __ref void unmap_low_page(void *adr) > { > if (after_bootmem) > return; > > >
Hi Jan, I have tested your patch, it works fine on my amd64 box and the three section mismatches in cause have desapparead. Thanks and regards. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [thread] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Re:[PATCH] x86-64: fix two modpost warnings in mm/init_64.c
, Rufus & Azrael
, (Thu Aug 21, 10:06 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
Trent Piepho
Re: [PATCH] fakephp: Allocate PCI resources before adding the device
linux-netdev
:
Antonio Almeida
HTB accuracy for high speed
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
730 guests
online.
Online users
cbelgr67
julysummer26
Syndicate