* Andrey Ryabinin <[email protected]> wrote:
> On 02/04/2016 12:44 AM, Andrew Morton wrote:
> >
> > Probably lockdep_init() and lockdep_initialized can be done away with now.
> >
>
> Yup, it probably should be folded into your patch, or we could hold this off
> for 4.6.
>
>
> From: Andrey Ryabinin <[email protected]>
>
>
> Subject: kernel/lockdep: eliminate lockdep_init()
>
> Lockdep is initialized at compile time now. Get rid of lockdep_init().
>
> Signed-off-by: Andrey Ryabinin <[email protected]>
> ---
> arch/c6x/kernel/setup.c | 2 -
> arch/microblaze/kernel/setup.c | 2 -
> arch/powerpc/kernel/setup_32.c | 2 -
> arch/powerpc/kernel/setup_64.c | 3 --
> arch/s390/kernel/early.c | 1 -
> arch/sparc/kernel/head_64.S | 8 ----
> arch/x86/lguest/boot.c | 6 ---
> include/linux/lockdep.h | 2 -
> init/main.c | 5 ---
> kernel/locking/lockdep.c | 59
> ---------------------------
> tools/lib/lockdep/common.c | 5 ---
> tools/lib/lockdep/include/liblockdep/common.h | 1 -
> tools/lib/lockdep/preload.c | 2 -
> 13 files changed, 98 deletions(-)
Very nice! Should have done this from day one on ...
Thanks,
Ingo