diff options
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/initrd.c | 2 | ||||
-rw-r--r-- | arch/um/kernel/mem.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/um/kernel/initrd.c b/arch/um/kernel/initrd.c index fa015565001b..d386c75c88eb 100644 --- a/arch/um/kernel/initrd.c +++ b/arch/um/kernel/initrd.c | |||
@@ -32,7 +32,7 @@ static int __init read_initrd(void) | |||
32 | * ask for no memory. | 32 | * ask for no memory. |
33 | */ | 33 | */ |
34 | if (size == 0) { | 34 | if (size == 0) { |
35 | printk(KERN_ERR "\"%\" is a zero-size initrd\n"); | 35 | printk(KERN_ERR "\"%s\" is a zero-size initrd\n", initrd); |
36 | return 0; | 36 | return 0; |
37 | } | 37 | } |
38 | 38 | ||
diff --git a/arch/um/kernel/mem.c b/arch/um/kernel/mem.c index 2627ce82e918..2eea1ff235e6 100644 --- a/arch/um/kernel/mem.c +++ b/arch/um/kernel/mem.c | |||
@@ -299,7 +299,7 @@ void show_mem(void) | |||
299 | { | 299 | { |
300 | int pfn, total = 0, reserved = 0; | 300 | int pfn, total = 0, reserved = 0; |
301 | int shared = 0, cached = 0; | 301 | int shared = 0, cached = 0; |
302 | int highmem = 0; | 302 | int high_mem = 0; |
303 | struct page *page; | 303 | struct page *page; |
304 | 304 | ||
305 | printk(KERN_INFO "Mem-info:\n"); | 305 | printk(KERN_INFO "Mem-info:\n"); |
@@ -311,7 +311,7 @@ void show_mem(void) | |||
311 | page = pfn_to_page(pfn); | 311 | page = pfn_to_page(pfn); |
312 | total++; | 312 | total++; |
313 | if (PageHighMem(page)) | 313 | if (PageHighMem(page)) |
314 | highmem++; | 314 | high_mem++; |
315 | if (PageReserved(page)) | 315 | if (PageReserved(page)) |
316 | reserved++; | 316 | reserved++; |
317 | else if (PageSwapCache(page)) | 317 | else if (PageSwapCache(page)) |
@@ -320,7 +320,7 @@ void show_mem(void) | |||
320 | shared += page_count(page) - 1; | 320 | shared += page_count(page) - 1; |
321 | } | 321 | } |
322 | printk(KERN_INFO "%d pages of RAM\n", total); | 322 | printk(KERN_INFO "%d pages of RAM\n", total); |
323 | printk(KERN_INFO "%d pages of HIGHMEM\n", highmem); | 323 | printk(KERN_INFO "%d pages of HIGHMEM\n", high_mem); |
324 | printk(KERN_INFO "%d reserved pages\n", reserved); | 324 | printk(KERN_INFO "%d reserved pages\n", reserved); |
325 | printk(KERN_INFO "%d pages shared\n", shared); | 325 | printk(KERN_INFO "%d pages shared\n", shared); |
326 | printk(KERN_INFO "%d pages swap cached\n", cached); | 326 | printk(KERN_INFO "%d pages swap cached\n", cached); |