PATCH powerpc: Merge asm-ppc*/sections.h
paulus at samba.org
Fri Sep 16 08:00:35 EST 2005
Gabriel Paubert writes:
> So yes, I object strongly object if I don't have a way
> of removing useless PMAC code. The kernel is already very
> bloated compared with the 2.2 we started with, which was
> well below 1MB with the minimal setup: serial console, root
> on NFS, no swap, some locally modules to control the PCI<->VME
> bridge and what is behind on the VME bus.
I assume you compile custom kernels for these machines, so you're
happy with using config options to remove the code you don't want?
Having the .pmac.text, .prep.text etc. sections lets us remove
unneeded code at runtime, but it sounds like that isn't actually the
issue for you (i.e. you don't have a need to run the same kernel on
both a pmac and a prep).
More information about the Linuxppc-dev