Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189579
b: refs/heads/master
c: ea56f41
h: refs/heads/master
i:
  189577: 37a6ded
  189575: db39ae4
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Apr 7, 2010
1 parent deaf1bf commit 1e6ee16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c783a29efcbc90a90ccfec8956c7ff0854301c34
refs/heads/master: ea56f411ec2d4d8689eb7f3bcd24e860acf87c47
2 changes: 2 additions & 0 deletions trunk/drivers/char/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ int __weak phys_mem_access_prot_allowed(struct file *file,
* outside of main memory.
*
*/
#ifdef pgprot_noncached
static int uncached_access(struct file *file, unsigned long addr)
{
#if defined(CONFIG_IA64)
Expand All @@ -251,6 +252,7 @@ static int uncached_access(struct file *file, unsigned long addr)
return addr >= __pa(high_memory);
#endif
}
#endif

static pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
unsigned long size, pgprot_t vma_prot)
Expand Down

0 comments on commit 1e6ee16

Please sign in to comment.