Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.26-rc1 /kernel/kexec.c

Filename:/kernel/kexec.c
Lines Added:4
Lines Deleted:2
Also changed in: (Previous) 2.6.25-git20  2.6.25-git19  2.6.25-git18  2.6.25-git17  2.6.25-git16  2.6.25-git15 
(Following) 2.6.26-rc2  2.6.26-rc3  2.6.26-rc4  2.6.26-rc5  2.6.26-rc6  2.6.26-rc7 

Location
[  2.6.26-rc1
  [  kernel
     o  kexec.c

Patch

diff --git a/kernel/kexec.c b/kernel/kexec.c
index 06a0e27..1c5fcac 100644
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -29,7 +29,6 @@
 #include <asm/uaccess.h>
 #include <asm/io.h>
 #include <asm/system.h>
-#include <asm/semaphore.h>
 #include <asm/sections.h>
 
 /* Per cpu memory for storing cpu states in case of system crash. */
@@ -1218,7 +1217,7 @@ static int __init parse_crashkernel_mem(char          *cmdline,
       }
 
       /* match ? */
-      if (system_ram >= start && system_ram <= end) {
+      if (system_ram >= start && system_ram < end) {
          *crash_size = size;
          break;
       }
@@ -1406,6 +1405,9 @@ static int __init crash_save_vmcoreinfo_init(void)
    VMCOREINFO_LENGTH(zone.free_area, MAX_ORDER);
    VMCOREINFO_LENGTH(free_area.free_list, MIGRATE_TYPES);
    VMCOREINFO_NUMBER(NR_FREE_PAGES);
+   VMCOREINFO_NUMBER(PG_lru);
+   VMCOREINFO_NUMBER(PG_private);
+   VMCOREINFO_NUMBER(PG_swapcache);
 
    arch_crash_save_vmcoreinfo();
 


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.