Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85997
b: refs/heads/master
c: d8a9e6a
h: refs/heads/master
i:
  85995: f3ecff6
v: v3
  • Loading branch information
Arjan van de Ven authored and Ingo Molnar committed Feb 19, 2008
1 parent dbb016b commit a62813e
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 7c6357da1185d286adaa4452d829ac9b27c4d12f
refs/heads/master: d8a9e6a51ec58486f850e3606e3fcb86b5b7da41
9 changes: 9 additions & 0 deletions trunk/arch/x86/mm/ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ int page_is_ram(unsigned long pagenr)
unsigned long addr, end;
int i;

/*
* A special case is the first 4Kb of memory;
* This is a BIOS owned area, not kernel ram, but generally
* not listed as such in the E820 table.
*/
if (pagenr == 0)
return 0;


for (i = 0; i < e820.nr_map; i++) {
/*
* Not usable memory:
Expand Down

0 comments on commit a62813e

Please sign in to comment.