Annotation of /trunk/kernel26-xen/patches-2.6.25-r1/1022-2.6.25-xen-x86_64-Add-clear_fixmap.patch
Parent Directory | Revision Log
Revision 606 -
(hide annotations)
(download)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 968 byte(s)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 968 byte(s)
-ver bump to 2.6.25-magellan-r1: - linux-2.6.25.4 - fbcondecor-0.9.4 - squashfs-3.3 - unionfs-2.3.3 - tuxonice-3.0-rc7 - linux-phc-0.3.0 - acpi-dstd-0.9a - reiser4 - xen-3.2.0 . ipw3945-1.2.2
1 | niro | 606 | From 0d7f467f0e92b341531c4df9480808bfd9f08469 Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> | ||
3 | Date: Mon, 3 Mar 2008 16:31:57 -0300 | ||
4 | Subject: [PATCH] x86_64: Add clear_fixmap() | ||
5 | |||
6 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> | ||
7 | Signed-off-by: Mark McLoughlin <markmc@redhat.com> | ||
8 | --- | ||
9 | include/asm-x86/fixmap_64.h | 3 +++ | ||
10 | 1 files changed, 3 insertions(+), 0 deletions(-) | ||
11 | |||
12 | diff --git a/include/asm-x86/fixmap_64.h b/include/asm-x86/fixmap_64.h | ||
13 | index 70ddb21..e205dc0 100644 | ||
14 | --- a/include/asm-x86/fixmap_64.h | ||
15 | +++ b/include/asm-x86/fixmap_64.h | ||
16 | @@ -61,6 +61,9 @@ extern void __set_fixmap (enum fixed_addresses idx, | ||
17 | #define set_fixmap_nocache(idx, phys) \ | ||
18 | __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) | ||
19 | |||
20 | +#define clear_fixmap(idx) \ | ||
21 | + __set_fixmap(idx, 0, __pgprot(0)) | ||
22 | + | ||
23 | #define FIXADDR_TOP (VSYSCALL_END-PAGE_SIZE) | ||
24 | #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) | ||
25 | #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) | ||
26 | -- | ||
27 | 1.5.4.1 | ||
28 |