diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-06-17 14:41:54 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-20 09:09:51 -0400 |
commit | 7c7e6e07e2a7c0d2d96389f4f0540e44a80ecdaa (patch) | |
tree | 5d139f94cae6c1d0ff829c5e9eafd8ee96582712 /arch/x86/mm/init_64.c | |
parent | 944256e00a5466ae6b7a11fdb3a47d092f2f62c1 (diff) |
x86: unify __set_fixmap
In both cases, I went with the 32-bit behaviour.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/init_64.c')
-rw-r--r-- | arch/x86/mm/init_64.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 156e6d7b0e32..e5f531949857 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -213,18 +213,6 @@ void __init cleanup_highmap(void) | |||
213 | } | 213 | } |
214 | } | 214 | } |
215 | 215 | ||
216 | /* NOTE: this is meant to be run only at boot */ | ||
217 | void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) | ||
218 | { | ||
219 | unsigned long address = __fix_to_virt(idx); | ||
220 | |||
221 | if (idx >= __end_of_fixed_addresses) { | ||
222 | printk(KERN_ERR "Invalid __set_fixmap\n"); | ||
223 | return; | ||
224 | } | ||
225 | set_pte_phys(address, phys, prot); | ||
226 | } | ||
227 | |||
228 | static unsigned long __initdata table_start; | 216 | static unsigned long __initdata table_start; |
229 | static unsigned long __meminitdata table_end; | 217 | static unsigned long __meminitdata table_end; |
230 | 218 | ||