Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157118
b: refs/heads/master
c: dc71c7d
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Geert Uytterhoeven committed Aug 26, 2009
1 parent 6c75272 commit 24d5615
Show file tree
Hide file tree
Showing 2 changed files with 5 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: dd9b3e84f2095ed19582f4df5d20e1e40c01ca3c
refs/heads/master: dc71c7d5dbd8cd8bb6e3b548ddc0454b64ded5f8
10 changes: 4 additions & 6 deletions trunk/arch/m68k/include/asm/motorola_pgalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ static inline pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long addres
return NULL;

pte = kmap(page);
if (pte) {
__flush_page_to_ram(pte);
flush_tlb_kernel_page(pte);
nocache_page(pte);
}
kunmap(pte);
__flush_page_to_ram(pte);
flush_tlb_kernel_page(pte);
nocache_page(pte);
kunmap(page);
pgtable_page_ctor(page);
return page;
}
Expand Down

0 comments on commit 24d5615

Please sign in to comment.