Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87889
b: refs/heads/master
c: 9c31205
h: refs/heads/master
i:
  87887: 14e97eb
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Mar 28, 2008
1 parent e953a93 commit 1b4df27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 1f71f50342c6fe4fbdebe63b0fd196972a70e281
refs/heads/master: 9c312058b2e530722c7bd30c1b6f26eea35dc5fe
6 changes: 3 additions & 3 deletions trunk/arch/x86/mm/highmem_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ void *kmap_atomic_prot(struct page *page, enum km_type type, pgprot_t prot)
{
enum fixed_addresses idx;
unsigned long vaddr;
/* even !CONFIG_PREEMPT needs this, for in_atomic in do_page_fault */

debug_kmap_atomic_prot(type);

/* even !CONFIG_PREEMPT needs this, for in_atomic in do_page_fault */
pagefault_disable();

if (!PageHighMem(page))
return page_address(page);

debug_kmap_atomic_prot(type);

idx = type + KM_TYPE_NR*smp_processor_id();
vaddr = __fix_to_virt(FIX_KMAP_BEGIN + idx);
BUG_ON(!pte_none(*(kmap_pte-idx)));
Expand Down

0 comments on commit 1b4df27

Please sign in to comment.