login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
15
Re: [PATCH] Fix left over EFI cache mapping problems
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Ingo Molnar <mingo@...>
To: Linus Torvalds <torvalds@...>
Cc: Huang, Ying <ying.huang@...>, Andi Kleen <andi@...>, <tglx@...>, <linux-kernel@...>
Subject:
Re: [PATCH] Fix left over EFI cache mapping problems
Date: Friday, February 15, 2008 - 3:30 am
* Linus Torvalds <torvalds@linux-foundation.org> wrote:
quoted text
> So *if* we care (I doubt we do, since EFI_PAGE_SHIFT at least right > now matches PAGE_SHIFT on x86), you'd probably want to do something > like > > static inline unsigned long efi_pages_to_native_pages(unsigned long efi_pages) > { > #if EFI_PAGE_SHIFT > PAGE_SHIFT > return efi_pages << (EFI_PAGE_SHIFT - PAGE_SHIFT); > #else > return efi_pages >> (PAGE_SHIFT - EFI_PAGE_SHIFT); > #endif > }
yeah, this is even cleaner - i guess EFI_PAGE_SHIFT will be around in the future too because it's also used on ia64. Ingo --
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:
[PATCH] Fix left over EFI cache mapping problems
, Andi Kleen
, (Thu Feb 14, 9:13 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Ingo Molnar
, (Thu Feb 14, 12:12 pm)
Re: [PATCH] Fix left over EFI cache mapping problems
, Huang, Ying
, (Fri Feb 15, 12:48 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Andi Kleen
, (Fri Feb 15, 4:48 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Huang, Ying
, (Fri Feb 15, 5:21 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Andi Kleen
, (Fri Feb 15, 5:43 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Ingo Molnar
, (Fri Feb 15, 3:08 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Huang, Ying
, (Sun Feb 17, 9:53 pm)
Re: [PATCH] Fix left over EFI cache mapping problems
, Andi Kleen
, (Mon Feb 18, 7:26 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Ingo Molnar
, (Mon Feb 18, 10:05 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Huang, Ying
, (Fri Feb 15, 3:32 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Linus Torvalds
, (Fri Feb 15, 1:44 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Ingo Molnar
, (Fri Feb 15, 3:30 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Huang, Ying
, (Fri Feb 15, 2:24 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Andi Kleen
, (Thu Feb 14, 1:16 pm)
Re: [PATCH] Fix left over EFI cache mapping problems
, Ingo Molnar
, (Thu Feb 14, 2:38 pm)
Re: [PATCH] Fix left over EFI cache mapping problems
, Huang, Ying
, (Thu Feb 14, 10:52 pm)
Re: [PATCH] Fix left over EFI cache mapping problems
, Andi Kleen
, (Fri Feb 15, 4:55 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Huang, Ying
, (Fri Feb 15, 5:16 am)
Re: [PATCH] Fix left over EFI cache mapping problems
, Andi Kleen
, (Thu Feb 14, 5:42 pm)
Re: [PATCH] Fix left over EFI cache mapping problems
, Arjan van de Ven
, (Thu Feb 14, 6:08 pm)
Re: [PATCH] Fix left over EFI cache mapping problems
, Andi Kleen
, (Thu Feb 14, 7:01 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Sunil Naidu
Re: Linux 2.6.20-rc6
Alan Cox
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Chris Snook
Re: init's children list is long and slows reaping children.
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
git
:
openbsd-misc
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Eric W. Biederman
Re: [PATCH 10/11] avoid kobject name conflict with different namespaces
Colocation donated by:
Who's online
There are currently
1 user
and
875 guests
online.
Online users
strcmp
Syndicate