From: Hauke Mehrtens Date: Thu, 8 Jul 2010 21:11:58 +0000 (+0200) Subject: compat: fix tracpoint building X-Git-Tag: v2.6.37-rc1-1~40 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=7b8245ada847664fd3bda3c05949d60085ec94e0;p=~emulex%2Ffor-vlad%2Fcompat.git compat: fix tracpoint building trace/define_trace.h can be included more often and it have to. This fixes some errors like this: WARNING: "__tracepoint_iwlwifi_dev_rx" [/home/hauke/compat-wireless/compat-wireless-git/drivers/net/wireless/iwlwifi/iwlcore.ko] undefined! Signed-off-by: Hauke Mehrtens --- diff --git a/include/trace/define_trace.h b/include/trace/define_trace.h index a31105a..7d03ccf 100644 --- a/include/trace/define_trace.h +++ b/include/trace/define_trace.h @@ -1,10 +1,5 @@ -#ifndef _COMPAT_TRACE_DEFINE_TRACE_H -#define _COMPAT_TRACE_DEFINE_TRACE_H 1 - #include #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) #include_next #endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) */ - -#endif /* _COMPAT_TRACE_DEFINE_TRACE_H */