Re: [PATCH 2/10] kdump: dynamic per cpu allocation of memory for saving cpu registers

From: Vivek Goyal
Date: Fri Nov 18 2005 - 07:32:15 EST


On Thu, Nov 17, 2005 at 02:01:38PM -0800, Andrew Morton wrote:
>
> Please always generate diffs against the latest kernel! I changed the
> patch to reflect the new location of ppc64's machine_kexec.c.
>

Hi Andrew, I just noticed in 2.6.15-rc1-mm2 that ppc64/machine_kexec.c has
been moved to powerpc/machine_kexec_64.c. So my and your changes have not
taken effect. I am attaching an incremental patch.

Thanks
Vivek



o The file ppc64/machine_kexec.c has now become powerpc/machine_kexec_64.c
This patch removes the crash_notes definition from machine_kexec_64.c
as crash_notes definition now has become architecture independent.

Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx>
---

linux-2.6.15-rc1-mm2-1M-root/arch/powerpc/kernel/machine_kexec_64.c | 3 ---
1 files changed, 3 deletions(-)

diff -puN arch/powerpc/kernel/machine_kexec_64.c~kdump-powerpc-remove-crash-notes arch/powerpc/kernel/machine_kexec_64.c
--- linux-2.6.15-rc1-mm2-1M/arch/powerpc/kernel/machine_kexec_64.c~kdump-powerpc-remove-crash-notes 2005-11-18 17:15:19.000000000 +0530
+++ linux-2.6.15-rc1-mm2-1M-root/arch/powerpc/kernel/machine_kexec_64.c 2005-11-18 17:15:45.000000000 +0530
@@ -28,9 +28,6 @@

#define HASH_GROUP_SIZE 0x80 /* size of each hash group, asm/mmu.h */

-/* Have this around till we move it into crash specific file */
-note_buf_t crash_notes[NR_CPUS];
-
/* Dummy for now. Not sure if we need to have a crash shutdown in here
* and if what it will achieve. Letting it be now to compile the code
* in generic kexec environment
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/