diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2007-05-09 15:35:19 -0700 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-05-15 13:36:33 +0900 |
commit | 02f4088ffded3d6f99a0c9f835727943d102b3df (patch) | |
tree | 9a5ab05c3b9d3f80b24bb8897f5aa8333bf15ac3 /kexec/arch/ppc64/crashdump-ppc64.c | |
parent | 13ceb63c96c26e1964dea12576d7245853a83842 (diff) |
kexec fix ppc64 device-tree mem node
Change the ppc64 device-tree memory node name spec to match the allowable names
specified in the booting-without-of document.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/arch/ppc64/crashdump-ppc64.c')
-rw-r--r-- | kexec/arch/ppc64/crashdump-ppc64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kexec/arch/ppc64/crashdump-ppc64.c b/kexec/arch/ppc64/crashdump-ppc64.c index 9c0b621..0ef093e 100644 --- a/kexec/arch/ppc64/crashdump-ppc64.c +++ b/kexec/arch/ppc64/crashdump-ppc64.c @@ -129,7 +129,8 @@ static int get_crash_memory_ranges(struct memory_range **range, int *ranges) goto err; } while ((dentry = readdir(dir)) != NULL) { - if (strncmp(dentry->d_name, "memory@", 7)) + if (strncmp(dentry->d_name, "memory@", 7) && + strcmp(dentry->d_name, "memory")) continue; strcpy(fname, device_tree); strcat(fname, dentry->d_name); |