Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35527
b: refs/heads/master
c: 24fd425
h: refs/heads/master
i:
  35525: deb269d
  35523: 69d999a
  35519: e9c549f
v: v3
  • Loading branch information
keith mannthey authored and Linus Torvalds committed Sep 26, 2006
1 parent 5b80eaf commit 3082519
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 0b16f21f144010aa627c58b3a33be49ebfd685dc
refs/heads/master: 24fd425edd53ea580cad917e825c1f6715e9b939
7 changes: 5 additions & 2 deletions trunk/arch/i386/mm/boot_ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@
*/

#define BOOT_PTE_PTRS (PTRS_PER_PTE*2)
#define boot_pte_index(address) \
(((address) >> PAGE_SHIFT) & (BOOT_PTE_PTRS - 1))

static unsigned long boot_pte_index(unsigned long vaddr)
{
return __pa(vaddr) >> PAGE_SHIFT;
}

static inline boot_pte_t* boot_vaddr_to_pte(void *address)
{
Expand Down

0 comments on commit 3082519

Please sign in to comment.