[PATCH 11/15] Combine spufs_coredump_calls with spufs_calls

Arnd Bergmann arnd at arndb.de
Wed Sep 12 18:51:32 EST 2007


On Wednesday 12 September 2007, Michael Ellerman wrote:
> Because spufs might be built as a module, we can't have other parts of the
> kernel calling directly into it, we need stub routines that check first if the
> module is loaded.
> 
> Currently we have two structures which hold callbacks for these stubs, the
> syscalls are in spufs_calls and the coredump calls are in spufs_coredump_calls.
> In both cases the logic for registering/unregistering is essentially the same,
> so we can simplify things by combining the two.

Nice cleanup!

> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>

Acked-by: Arnd Bergmann <arnd.bergmann at de.ibm.com>



More information about the Linuxppc-dev mailing list