arch/i386/mm/init.c fix

Tim Waugh (twaugh@redhat.com)
Mon, 13 Dec 1999 13:20:42 +0000 (GMT)


Comma expressions split over four lines? Eew! (Plus, it compiles again
with this patch..)

Tim.
*/

--- linux/arch/i386/mm/init.c~ Mon Dec 13 13:18:17 1999
+++ linux/arch/i386/mm/init.c Mon Dec 13 13:17:37 1999
@@ -162,11 +162,12 @@
int freed = 0;
if(pgtable_cache_size > high) {
do {
- if(pgd_quicklist)
- mmlist_modify_lock(), \
- free_pgd_slow(get_pgd_fast()), \
- mmlist_modify_unlock(), \
+ if(pgd_quicklist) {
+ mmlist_modify_lock();
+ free_pgd_slow(get_pgd_fast());
+ mmlist_modify_unlock();
freed++;
+ }
if(pmd_quicklist)
free_pmd_slow(get_pmd_fast()), freed++;
if(pte_quicklist)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/