> I'm trying to do kernel modifications so that initrd is supported, which
> will make installations easier.
> I was a bit surprised that these weren't architecture neutral to begin
> with. Why is this dependant on the arch? The code I've found for other
> archs is in arch/*/kernel/setup.c.
> How safe is it for me to replicate the code from, say, the sparc port? Is
> there anything I should be aware of?
The only difference between the architectures is where in memory the
initrd is being stored. I haven't check how things work on a Sparc but
basically what we need should be at least very similar to for example
the i386 code - as far as setup.c is affected.