Skip to contentSkip to conversation

mm/bootmem.c: whitespace cleanups

PATCH New Michael Berger 1 participant 1 message May 5, 2005 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm/bootmem.c: whitespace cleanups

Dear LKML

Here is a patch with whitespace cleanups for mm/bootmem.c

-- Mischa

[PATCH] mm/bootmem.c: whitespace cleanups

Some whitespace cleanups for mm/bootmem.c.

---
commit 977cd0ff21ccda7f6b61b1ecbed4dd5384b5801c tree 0b8ea04402c32ecb8731c7ed5aafdfa7a80027d7 parent b2d84f078a8be40f5ae3b4d2ac001e2a7f45fe4f author Mischa <[email protected]> 1115313241 +0200 committer Mischa <[email protected]> 1115313241 +0200

mm/bootmem.c (mode:100644 sha1:561988d3c49004a447f5659c150d4fff5b3d6a1a) renamed from mm/bootmem.c (mode:100644 sha1:260e703850d827d81356f64222a8beceb9f19b0c) +3 -3
Index: mm/bootmem.c
===================================================================
@@ -84,7 +84,7 @@
 	 * fully reserved.
 	 */
 	unsigned long sidx = (addr - bdata->node_boot_start)/PAGE_SIZE;
-	unsigned long eidx = (addr + size - bdata->node_boot_start + 
+	unsigned long eidx = (addr + size - bdata->node_boot_start +
 							PAGE_SIZE-1)/PAGE_SIZE;
 	unsigned long end = (addr + size + PAGE_SIZE-1)/PAGE_SIZE;
 
@@ -169,7 +169,7 @@
 	 * We try to allocate bootmem pages above 'goal'
 	 * first, then we try to allocate lower pages.
 	 */
-	if (goal && (goal >= bdata->node_boot_start) && 
+	if (goal && (goal >= bdata->node_boot_start) &&
 	    ((goal >> PAGE_SHIFT) < bdata->node_low_pfn)) {
 		preferred = goal - bdata->node_boot_start;
 
@@ -259,7 +259,7 @@
 	bootmem_data_t *bdata = pgdat->bdata;
 	unsigned long i, count, total = 0;
 	unsigned long idx;
-	unsigned long *map; 
+	unsigned long *map;
 	int gofast = 0;
 
 	BUG_ON(!bdata->node_bootmem_map);