Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138682
b: refs/heads/master
c: a964e33
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Mar 5, 2009
1 parent 3fde0f0 commit bfe5c7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 62436fe9ee10f5e0dd087b106d69d93c9549935a
refs/heads/master: a964e33c5d7c0ea46376d20c2f02edf01c9db251
6 changes: 0 additions & 6 deletions trunk/arch/x86/include/asm/page_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,8 @@

#ifndef __ASSEMBLY__

struct pgprot;

extern int page_is_ram(unsigned long pagenr);
extern int devmem_is_allowed(unsigned long pagenr);
extern void map_devmem(unsigned long pfn, unsigned long size,
struct pgprot vma_prot);
extern void unmap_devmem(unsigned long pfn, unsigned long size,
struct pgprot vma_prot);

extern unsigned long max_low_pfn_mapped;
extern unsigned long max_pfn_mapped;
Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/x86/include/asm/pat.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define _ASM_X86_PAT_H

#include <linux/types.h>
#include <asm/pgtable_types.h>

#ifdef CONFIG_X86_PAT
extern int pat_enabled;
Expand All @@ -17,5 +18,9 @@ extern int free_memtype(u64 start, u64 end);

extern int kernel_map_sync_memtype(u64 base, unsigned long size,
unsigned long flag);
extern void map_devmem(unsigned long pfn, unsigned long size,
struct pgprot vma_prot);
extern void unmap_devmem(unsigned long pfn, unsigned long size,
struct pgprot vma_prot);

#endif /* _ASM_X86_PAT_H */

0 comments on commit bfe5c7d

Please sign in to comment.