Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3ec96783
Commit
3ec96783
authored
Apr 25, 2008
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: make clear_fixmap() available on 64-bit as well
Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
b69d3987
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
include/asm-x86/fixmap.h
include/asm-x86/fixmap.h
+8
-0
include/asm-x86/fixmap_32.h
include/asm-x86/fixmap_32.h
+2
-5
include/asm-x86/fixmap_64.h
include/asm-x86/fixmap_64.h
+2
-2
No files found.
include/asm-x86/fixmap.h
View file @
3ec96783
#ifndef _ASM_FIXMAP_H
#define _ASM_FIXMAP_H
#ifdef CONFIG_X86_32
# include "fixmap_32.h"
#else
# include "fixmap_64.h"
#endif
#define clear_fixmap(idx) \
__set_fixmap(idx, 0, __pgprot(0))
#endif
include/asm-x86/fixmap_32.h
View file @
3ec96783
...
...
@@ -10,8 +10,8 @@
* Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
*/
#ifndef _ASM_FIXMAP_H
#define _ASM_FIXMAP_H
#ifndef _ASM_FIXMAP_
32_
H
#define _ASM_FIXMAP_
32_
H
/* used by vmalloc.c, vsyscall.lds.S.
...
...
@@ -121,9 +121,6 @@ extern void reserve_top_address(unsigned long reserve);
#define set_fixmap_nocache(idx, phys) \
__set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)
#define clear_fixmap(idx) \
__set_fixmap(idx, 0, __pgprot(0))
#define FIXADDR_TOP ((unsigned long)__FIXADDR_TOP)
#define __FIXADDR_SIZE (__end_of_permanent_fixed_addresses << PAGE_SHIFT)
...
...
include/asm-x86/fixmap_64.h
View file @
3ec96783
...
...
@@ -8,8 +8,8 @@
* Copyright (C) 1998 Ingo Molnar
*/
#ifndef _ASM_FIXMAP_H
#define _ASM_FIXMAP_H
#ifndef _ASM_FIXMAP_
64_
H
#define _ASM_FIXMAP_
64_
H
#include <linux/kernel.h>
#include <asm/apicdef.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment