Initial fix of upstream merge.

This commit is contained in:
Geoffrey Challen
2017-02-09 10:09:30 -05:00
42 changed files with 828 additions and 74 deletions

View File

@@ -1113,6 +1113,10 @@ subpage_kfree(void *ptr)
checksubpages();
/* Silence warnings with gcc 4.8 -Og (but not -O2) */
prpage = 0;
blktype = 0;
for (pr = allbase; pr; pr = pr->next_all) {
prpage = PR_PAGEADDR(pr);
blktype = PR_BLOCKTYPE(pr);