Bernhard Walle wrote:
* Dave Anderson <anderson(a)redhat.com> [2007-03-19 18:55]:
> It compiles OK -- just let me know if you're happy with it.
He, your old Netscape 4.7 doesn't know format=flowed so you got the
patch readable .....
Regards,
Bernhard
Actually Dmitry's patch was readable, although both sections were rejected
for some reason, so I just applied it manually.
On the other hand, I thought that your patch was flowed -- here's what the
"saved" version looks like:
ppc.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Index: crash-4.0-3.21/ppc.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- crash-4.0-3.21.orig/ppc.c
+++ crash-4.0-3.21/ppc.c
@@ -301,8 +301,8 @@ ppc_uvtop(struct task_context *tc, ulong
if (machdep->flags & CPU_BOOKE)
page_table =3D page_middle + (BTOP(vaddr) & (PTRS_PER_PTE - 1));
else
- page_table =3D ((page_middle & machdep->pagemask) +
machdep->kvbase) +
- (BTOP(vaddr) & (PTRS_PER_PTE-1));
+ page_table =3D (ulong *)((ulong)( (((ulonglong)(ulong)page_middle &
mach=
dep->pagemask)
+ + machdep->kvbase) + ((BTOP(vaddr))
& (PTRS_PER_PTE-1)) ));
=20
if (verbose)
fprintf(fp, " PMD: %lx =3D> %lx\n",(ulong)page_middle,=20
@@ -389,8 +389,8 @@ ppc_kvtop(struct task_context *tc, ulong
if (machdep->flags & CPU_BOOKE)
page_table =3D page_middle + (BTOP(kvaddr) & (PTRS_PER_PTE - 1));
else
- page_table =3D ((page_middle & machdep->pagemask) +
machdep->kvbase) +
- (BTOP(kvaddr) & (PTRS_PER_PTE-1));
+ page_table =3D (ulong *)((ulong)( (((ulonglong)(ulong)page_middle &
mach=
dep->pagemask)
+ + machdep->kvbase) + ((BTOP(kvaddr))
& (PTRS_PER_PTE-1)) ));
=20
if (verbose)
fprintf(fp, " PMD: %lx =3D> %lx\n", (ulong)page_middle,=20
--r5Pyd7+fXNt84Ff3
Content-Type: application/pgp-signature
Dave