Re: [PATCH] powerpc: Use linux/elfcore-compat.h

From: Roland McGrath
Date: Tue Aug 07 2007 - 19:44:30 EST


> There is hardly anything interesting remaining in
> arch/powerpc/kernel/binfmt_elf32.c after your patch.
>
> Do you think it's reasonable to go one step further and
> turn the file into a completely generic fs/binfmt_elf32.c
> that can be used by all 32/64 compat architectures?

There is certainly more cleanup that can be done.
This was just an easy incremental step.

It's not going to get quite to "completely generic". On other machines the
32/64 flavors are not quite as similar as on powerpc, so there is some more
code required there. There will have to be a lot of per-arch macros and
functions, even if they are unified to compat_* names.


Thanks,
Roland
-
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/