Re: [PATCH 0/1] tools: liblockdep: move to using tools/include/

From: Ingo Molnar
Date: Mon Jun 05 2017 - 03:32:04 EST



* Levin, Alexander (Sasha Levin) <alexander.levin@xxxxxxxxxxx> wrote:

> This patch applies on top of the fixes sent a few days ago.
>
> Just delete tools/lib/lockdep/uinclude and move the small bits of
> missing functionality (and a few empty headers) into
> tools/include/ .
>
> Sasha Levin (1):
> tools: liblockdep: remove private kernel headers
>
> tools/include/asm/sections.h | 0
> tools/include/linux/compiler.h | 12 +++++
> .../uinclude => include}/linux/debug_locks.h | 1 +
> tools/include/linux/delay.h | 0
> tools/include/linux/ftrace.h | 0
> tools/include/linux/gfp.h | 0

Ok, the new liblockdep code looks pretty clean and compact now - I've applied your
earlier series plus this patch, will push out after a bit of testing.

There's one change I did: instead of the many zero size header files (which are
hard to distinguish from empty files that tools like Quilt sometimes leave around)
I've added explicit header guards to those otherwise empty files.

Thanks,

Ingo