Commit ec923d9d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] Sun-3 first page

Sun-3: Properly calculate the physical address of the first virtual page
(0x0e000000) (from Sam Creasey)
parent 5b6401ec
......@@ -145,7 +145,7 @@ static inline unsigned long ___pa(unsigned long x)
{
if(x == 0)
return 0;
if(x > PAGE_OFFSET)
if(x >= PAGE_OFFSET)
return (x-PAGE_OFFSET);
else
return (x+0x2000000);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment