Minor kernel changes.

This commit is contained in:
Geoffrey Challen
2017-02-09 09:53:00 -05:00
parent 0f0c5fcfc7
commit 15abe49f09
3 changed files with 31 additions and 0 deletions

View File

@@ -1065,6 +1065,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);