home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / system / network / sunacm / debuggin / optional.dif < prev    next >
Encoding:
Text File  |  1993-10-19  |  600 b   |  24 lines

  1. --- memory.c    Tue Oct 19 16:21:00 1993
  2. +++ memory.c~    Tue Oct 19 16:20:59 1993
  3. @@ -977,9 +977,6 @@
  4.  
  5.  void show_mem(void)
  6.  {
  7. -#ifdef CONFIG_INET
  8. -    extern long net_memory,net_skbcount;
  9. -#endif    
  10.      int i,free = 0,total = 0,reserved = 0;
  11.      int shared = 0;
  12.  
  13. @@ -990,10 +987,6 @@
  14.      printk("Buffer memory:   %6dkB\n",buffermem>>10);
  15.      printk("Buffer heads:    %6d\n",nr_buffer_heads);
  16.      printk("Buffer blocks:   %6d\n",nr_buffers);
  17. -#ifdef CONFIG_INET
  18. -    printk("Network Buffers: %ld using %ld bytes\n",
  19. -        net_skbcount,net_memory);
  20. -#endif            
  21.      i = high_memory >> PAGE_SHIFT;
  22.      while (i-- > 0) {
  23.          total++;
  24.