Commit d97ec37c authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] direct-io build fix

The arg to ZERO_PAGE() doesn't get evaluated on ia32 :(
parent 4d8063b3
......@@ -139,7 +139,7 @@ static int dio_refill_pages(struct dio *dio)
*/
if (dio->page_errors == 0)
dio->page_errors = ret;
dio->pages[0] = ZERO_PAGE(dio->cur_user_address);
dio->pages[0] = ZERO_PAGE(dio->curr_user_address);
dio->head = 0;
dio->tail = 1;
ret = 0;
......
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