From 7894fcd21732dd2ddfbb9beca52d037a62ed11f4 Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Thu, 25 Aug 2016 09:13:00 -0400 Subject: =?UTF-8?q?Remove=20trailing=20white=20space=20with:=20=20for=20f?= =?UTF-8?q?=20in=20*.{h,c};=20do=20sed=20-i=20.sed=20's/[[:blank:]]*$//'?= =?UTF-8?q?=20$f;=20done=20(Thanks=20to=20Nicol=C3=A1s=20Wolovick)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 74e61fb..2972b21 100644 --- a/main.c +++ b/main.c @@ -44,7 +44,7 @@ main(void) static void mpenter(void) { - switchkvm(); + switchkvm(); seginit(); lapicinit(); mpmain(); @@ -81,7 +81,7 @@ startothers(void) if(c == cpus+cpunum()) // We've started already. continue; - // Tell entryother.S what stack to use, where to enter, and what + // Tell entryother.S what stack to use, where to enter, and what // pgdir to use. We cannot use kpgdir yet, because the AP processor // is running in low memory, so we use entrypgdir for the APs too. stack = kalloc(); @@ -99,7 +99,7 @@ startothers(void) // The boot page table used in entry.S and entryother.S. // Page directories (and page tables) must start on page boundaries, -// hence the __aligned__ attribute. +// hence the __aligned__ attribute. // PTE_PS in a page directory entry enables 4Mbyte pages. __attribute__((__aligned__(PGSIZE))) -- cgit v1.2.3