]> git.hungrycats.org Git - linux/commitdiff
[SPARC64]: Fix one last cast-as-lvalue, present in uniprocessor builds.
authorDavid S. Miller <davem@nuts.davemloft.net>
Sat, 27 Mar 2004 17:22:46 +0000 (09:22 -0800)
committerDavid S. Miller <davem@nuts.davemloft.net>
Sat, 27 Mar 2004 17:22:46 +0000 (09:22 -0800)
arch/sparc64/mm/init.c

index 2d8083619b649b4867ced6a3e7ab29376f5e93af..690120faf6c87a4f4da5414d90efcb71f284ac47 100644 (file)
@@ -104,7 +104,7 @@ void check_pgt_cache(void)
                                 if (page2)
                                         page2->lru.next = page->lru.next;
                                 else
-                                        (struct page *)pgd_quicklist = page->lru.next;
+                                        pgd_quicklist = (void *) page->lru.next;
                                 pgd_cache_size -= 2;
                                 __free_page(page);
                                 if (page2)