Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30151
b: refs/heads/master
c: 2082b47
h: refs/heads/master
i:
  30149: 3763694
  30147: 208be67
  30143: ae9cc45
v: v3
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Jun 26, 2006
1 parent cb2e3a3 commit 6c89e59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 36a248fadf96cd78c6b344442046db5b85cf9a70
refs/heads/master: 2082b477dc7e9d5b3f773a36aae2dbc55b4263c2
6 changes: 1 addition & 5 deletions trunk/arch/m68knommu/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ static unsigned long empty_bad_page;

unsigned long empty_zero_page;

extern unsigned long rom_length;

void show_mem(void)
{
unsigned long i;
Expand Down Expand Up @@ -178,11 +176,9 @@ void mem_init(void)
initk = (&__init_begin - &__init_end) >> 10;

tmp = nr_free_pages() << PAGE_SHIFT;
printk(KERN_INFO "Memory available: %luk/%luk RAM, %luk/%luk ROM (%dk kernel code, %dk data)\n",
printk(KERN_INFO "Memory available: %luk/%luk RAM, (%dk kernel code, %dk data)\n",
tmp >> 10,
len >> 10,
(rom_length > 0) ? ((rom_length >> 10) - codek) : 0,
rom_length >> 10,
codek,
datak
);
Expand Down

0 comments on commit 6c89e59

Please sign in to comment.