If you're only going to be removing a single function, instead of having to export a bunch of previously-static functions, my preference would be to just insert a pair of #ifdef CONFIG_PIVOT_ROOT_SYSCALL / #endif statements around the function in question. Is it worth it to save 600-odd bytes? Shrug; but if that's what you are after, I'd suggest doing it the simplest and least-instrusive way possible. Cheers, - Ted