• Russell King's avatar
    [ARM] 2.5.48 module fixups (and disable module loading for ARM) · cb1ff876
    Russell King authored
    This cset implements half the changes required for Rusty's in-kernel
    module loader.  It implements the basic principles required to link
    a module with other modules and the kernel, as well as providing the
    required functions to allow the kernel to build with CONFIG_MODULES=y.
    
    However, as an unfortunate side effect, this cset DISABLES the
    ability to load modules on ARM; it's currently broken since we need
    to allocate a jump table for out of range branches (which is required
    for most calls from modules to the kernel binary to work.)
    
    Since we don't know the size of the jump table until we come to link
    the module, a subsequent vmalloc could return memory no where near
    the module itself, giving the same problem.
    cb1ff876
module.c 3.62 KB