• David S. Miller's avatar
    sparc64: Fix bootup crash on sun4v. · 9e0daff3
    David S. Miller authored
    
    
    The DS driver registers as a subsys_initcall() but this can be too
    early, in particular this risks registering before we've had a chance
    to allocate and setup module_kset in kernel/params.c which is
    performed also as a subsyts_initcall().
    
    Register DS using device_initcall() insteal.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    Cc: stable@vger.kernel.org
    9e0daff3
ds.c 25.4 KB