Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35563
b: refs/heads/master
c: a6ca1b9
h: refs/heads/master
i:
  35561: 25cac7e
  35559: 84572bf
v: v3
  • Loading branch information
James Bottomley authored and Linus Torvalds committed Sep 26, 2006
1 parent 0d6a1ec commit 45ef7f9
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: 3998b9301d3d55be8373add22b6bc5e11c1d9b71
refs/heads/master: a6ca1b99ed434f3fb41bbed647ed36c0420501e5
2 changes: 2 additions & 0 deletions trunk/include/linux/highmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ unsigned int nr_free_highpages(void);

static inline unsigned int nr_free_highpages(void) { return 0; }

#ifndef ARCH_HAS_KMAP
static inline void *kmap(struct page *page)
{
might_sleep();
Expand All @@ -41,6 +42,7 @@ static inline void *kmap(struct page *page)
#define kunmap_atomic(addr, idx) do { } while (0)
#define kmap_atomic_pfn(pfn, idx) page_address(pfn_to_page(pfn))
#define kmap_atomic_to_page(ptr) virt_to_page(ptr)
#endif

#endif /* CONFIG_HIGHMEM */

Expand Down

0 comments on commit 45ef7f9

Please sign in to comment.