Replace put_free_entry of gnttab.c