Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17951
b: refs/heads/master
c: 7a4a76c
h: refs/heads/master
i:
  17949: e726ac7
  17947: 9641cec
  17943: bcab31a
  17935: e08bbf1
  17919: 75e8ca1
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jan 12, 2006
1 parent dc92e26 commit 79bf74f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 7180d4fb83085fef9d24b353f5bd79cf6fd98447
refs/heads/master: 7a4a76cc1057de0dc96ee481590347aa8c5b9ffb
2 changes: 1 addition & 1 deletion trunk/arch/i386/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ char *__acpi_map_table(unsigned long phys_addr, unsigned long size)
if (!phys_addr || !size)
return NULL;

if (phys_addr < (end_pfn_map << PAGE_SHIFT))
if (phys_addr+size <= (end_pfn_map << PAGE_SHIFT) + PAGE_SIZE)
return __va(phys_addr);

return NULL;
Expand Down

0 comments on commit 79bf74f

Please sign in to comment.