From: brian Date: Wed, 16 Jul 2008 17:54:43 +0000 (+0000) Subject: b=16395 X-Git-Tag: GIT_EPOCH_B_RELEASE_1_6_7~2^3~457 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=811f01aa3f3886f1da9cf9250ad9243b3dd4b897;p=fs%2Flustre-release.git b=16395 i=Ricardo.M.Correia i=adilger Fix macro to conform to function-like-macros: http://gcc.gnu.org/onlinedocs/cpp/Function_002dlike-Macros.html#Function_002dlike-Macros Note that this error is in the upstream patches from Qaudrics. --- diff --git a/lustre/kernel_patches/patches/qsnet-rhel4-2.6.patch b/lustre/kernel_patches/patches/qsnet-rhel4-2.6.patch index 6d584b4..f198a43 100644 --- a/lustre/kernel_patches/patches/qsnet-rhel4-2.6.patch +++ b/lustre/kernel_patches/patches/qsnet-rhel4-2.6.patch @@ -1693,7 +1693,7 @@ Index: linux-269-5502/include/linux/ptrack.h + .ptrack_list = LIST_HEAD_INIT(tsk.ptrack_list) + +#else -+#define ptrack_call_callbacks (phase, child) (0) ++#define ptrack_call_callbacks(phase, child) (0) + +#define INIT_TASK_PTRACK(tsk) + diff --git a/lustre/kernel_patches/patches/qsnet-suse-2.6.patch b/lustre/kernel_patches/patches/qsnet-suse-2.6.patch index b312ab0..27b5a52 100644 --- a/lustre/kernel_patches/patches/qsnet-suse-2.6.patch +++ b/lustre/kernel_patches/patches/qsnet-suse-2.6.patch @@ -991,7 +991,7 @@ Index: LINUX-SRC-TREE/include/linux/ptrack.h + .ptrack_list = LIST_HEAD_INIT(tsk.ptrack_list) + +#else -+#define ptrack_call_callbacks (phase, child) (0) ++#define ptrack_call_callbacks(phase, child) (0) + +#define INIT_TASK_PTRACK(tsk) +