Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db0b0ead authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by Linus Torvalds
Browse files

[PATCH] lockdep: don't pull in includes when lockdep disabled



Do not pull in various includes through lockdep.h if lockdep is disabled.

Signed-off-by: default avatarMichael S. Tsirkin <mst@mellanox.co.il>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ddc0a51d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8,13 +8,13 @@
#ifndef __LINUX_LOCKDEP_H
#define __LINUX_LOCKDEP_H

#ifdef CONFIG_LOCKDEP

#include <linux/linkage.h>
#include <linux/list.h>
#include <linux/debug_locks.h>
#include <linux/stacktrace.h>

#ifdef CONFIG_LOCKDEP

/*
 * Lock-class usage-state bits:
 */