modules: add default loader hook implementations
authorJonas Bonn <jonas@southpole.se>
Thu, 30 Jun 2011 19:22:11 +0000 (21:22 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 24 Jul 2011 12:36:04 +0000 (22:06 +0930)
commit74e08fcf7bef973512a1f813700f802a93678670
tree467868e281ee7768c0124009340c0a5a1850de98
parent81c7413650fbbf881bcb9e567be61a6717eb1876
modules: add default loader hook implementations

The module loader code allows architectures to hook into the code by
providing a small number of entry points that each arch must implement.
This patch provides __weakly linked generic implementations of these
entry points for architectures that don't need to do anything special.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/moduleloader.h
kernel/module.c