lockdep: fix compilation when CONFIG_TRACE_IRQFLAGS_SUPPORT is not set
authorRui Sousa <rui.p.m.sousa@gmail.com>
Wed, 3 Sep 2008 15:53:07 +0000 (17:53 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Sep 2008 14:37:59 +0000 (16:37 +0200)
commitbd8fbdee6562ee526f3c2582a3b373ef195015dd
treea8270c0bc85a54e2cf9978fdae8fb28169ddad42
parentd210baf53b699fc61aa891c177b71d7082d3b957
lockdep: fix compilation when CONFIG_TRACE_IRQFLAGS_SUPPORT is not set

This patch fixes compilation if CONFIG_TRACE_IRQFLAGS_SUPPORT is ever
disabled (which is currently not allowed by Kconfig). Alternatively
we could just remove the option altogether and the associated code
paths. Since the compilation error has been in the tree for at
least two years and no one noticed it, I guess we don't really have
the need for CONFIG_TRACE_IRQFLAGS_SUPPORT=n.

Boot tested on x86 UP.

Signed-off-by: Rui Sousa <rui.p.m.sousa@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/irqflags.h