Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119446
b: refs/heads/master
c: 487ff32
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Nov 27, 2008
1 parent 230e7e0 commit 5aa1a39
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: 6417a917b564106dcf2b8f42687f92ad94635ddd
refs/heads/master: 487ff32082a9bd7489d8185cf7d7a2fdf18a22fa
2 changes: 2 additions & 0 deletions trunk/include/linux/highmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,14 @@ static inline void *kmap_atomic(struct page *page, enum km_type idx)
#endif /* CONFIG_HIGHMEM */

/* when CONFIG_HIGHMEM is not set these will be plain clear/copy_page */
#ifndef clear_user_highpage
static inline void clear_user_highpage(struct page *page, unsigned long vaddr)
{
void *addr = kmap_atomic(page, KM_USER0);
clear_user_page(addr, vaddr, page);
kunmap_atomic(addr, KM_USER0);
}
#endif

#ifndef __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE
/**
Expand Down

0 comments on commit 5aa1a39

Please sign in to comment.