From: Roland Dreier Date: Tue, 10 Oct 2006 19:50:38 +0000 (-0700) Subject: RDMA/amso1100: Fix build with debugging off X-Git-Tag: v2.6.19-rc2~199 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1031bfb93adf641436b2192170525b76e2eb25bd;p=pandora-kernel.git RDMA/amso1100: Fix build with debugging off Since pr_debug() has changed from a macro to an inline function when DEBUG is not defined, its arguments now need to be defined even when debugging is off. Therefore to_event_str() and to_qp_state_str() need to be moved out of #ifdef DEBUG. The compiler will throw the definitions away if DEBUG is not defined, but it needs to be able to see that the functions exist. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed