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

[PATCH] cs46xx: fix incomplete search-and-replace

Leftovers from the mem_map_reserve-removal patch.
parent d0c23f5d
...@@ -1247,7 +1247,7 @@ static void dealloc_dmabuf(struct cs_state *state) ...@@ -1247,7 +1247,7 @@ static void dealloc_dmabuf(struct cs_state *state)
mapend = virt_to_page(dmabuf->rawbuf + mapend = virt_to_page(dmabuf->rawbuf +
(PAGE_SIZE << dmabuf->buforder) - 1); (PAGE_SIZE << dmabuf->buforder) - 1);
for (map = virt_to_page(dmabuf->rawbuf); map <= mapend; map++) for (map = virt_to_page(dmabuf->rawbuf); map <= mapend; map++)
cs4x_ClearPageReserved(map); ClearPageReserved(map);
free_dmabuf(state->card, dmabuf); free_dmabuf(state->card, dmabuf);
} }
...@@ -1256,7 +1256,7 @@ static void dealloc_dmabuf(struct cs_state *state) ...@@ -1256,7 +1256,7 @@ static void dealloc_dmabuf(struct cs_state *state)
mapend = virt_to_page(dmabuf->tmpbuff + mapend = virt_to_page(dmabuf->tmpbuff +
(PAGE_SIZE << dmabuf->buforder_tmpbuff) - 1); (PAGE_SIZE << dmabuf->buforder_tmpbuff) - 1);
for (map = virt_to_page(dmabuf->tmpbuff); map <= mapend; map++) for (map = virt_to_page(dmabuf->tmpbuff); map <= mapend; map++)
cs4x_ClearPageReserved(map); ClearPageReserved(map);
free_dmabuf2(state->card, dmabuf); free_dmabuf2(state->card, dmabuf);
} }
......
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