lkml.org 
[lkml]   [2015]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[tip:locking/urgent] tools: Restore export.h
    Commit-ID:  92e25fd9be82a37247e587415ff9a9e773008d56
    Gitweb: http://git.kernel.org/tip/92e25fd9be82a37247e587415ff9a9e773008d56
    Author: Sasha Levin <sasha.levin@oracle.com>
    AuthorDate: Tue, 25 Aug 2015 01:19:43 -0400
    Committer: Ingo Molnar <mingo@kernel.org>
    CommitDate: Tue, 25 Aug 2015 09:44:22 +0200

    tools: Restore export.h

    Commit 3f735377b ("tools: Copy lib/rbtree.c to tools/lib/") has
    removed export.h, which was still in use by liblockdep. Restore
    it.

    Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Link: http://lkml.kernel.org/r/1440479985-6696-1-git-send-email-sasha.levin@oracle.com
    Signed-off-by: Ingo Molnar <mingo@kernel.org>
    ---
    tools/include/linux/export.h | 10 ++++++++++
    1 file changed, 10 insertions(+)

    diff --git a/tools/include/linux/export.h b/tools/include/linux/export.h
    new file mode 100644
    index 0000000..d07e586
    --- /dev/null
    +++ b/tools/include/linux/export.h
    @@ -0,0 +1,10 @@
    +#ifndef _TOOLS_LINUX_EXPORT_H_
    +#define _TOOLS_LINUX_EXPORT_H_
    +
    +#define EXPORT_SYMBOL(sym)
    +#define EXPORT_SYMBOL_GPL(sym)
    +#define EXPORT_SYMBOL_GPL_FUTURE(sym)
    +#define EXPORT_UNUSED_SYMBOL(sym)
    +#define EXPORT_UNUSED_SYMBOL_GPL(sym)
    +
    +#endif

    \
     
     \ /
      Last update: 2015-08-25 10:01    [W:3.327 / U:0.672 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site