Commit a244b47e authored by Charles Jacobsen's avatar Charles Jacobsen
Browse files

lcd: Fix test helper -- get free pages invocation.

parent f5068365
......@@ -86,12 +86,12 @@ test_fipc_create_channel(unsigned int buf_nr_pages_order, /* in pages */
/*
* Allocate buffer pages
*/
buf1 = (void *)__get_free_pages(buf_nr_pages_order, GFP_KERNEL);
buf1 = (void *)__get_free_pages(GFP_KERNEL, buf_nr_pages_order);
if (!buf1) {
ret = -ENOMEM;
goto fail1;
}
buf2 = (void *)__get_free_pages(buf_nr_pages_order, GFP_KERNEL);
buf2 = (void *)__get_free_pages(GFP_KERNEL, buf_nr_pages_order);
if (!buf2) {
ret = -ENOMEM;
goto fail2;
......
Supports Markdown
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