From 331faf8928328152a2064ed493f0e58efc3c6c7d Mon Sep 17 00:00:00 2001 From: Wenji Huang Date: Mon, 24 Nov 2008 00:15:46 -0500 Subject: Use for_each_cpu_mask always. Suggested-by: Srikar Dronamraju --- runtime/runtime.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'runtime/runtime.h') diff --git a/runtime/runtime.h b/runtime/runtime.h index 7507e594..3b3e117d 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -39,15 +39,9 @@ #define STP_OLD_TRANSPORT #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28) -#ifndef stp_for_each_cpu -#define stp_for_each_cpu(cpu) for_each_cpu((cpu), cpu_possible_map) -#endif -#else #ifndef stp_for_each_cpu #define stp_for_each_cpu(cpu) for_each_cpu_mask((cpu), cpu_possible_map) #endif -#endif static void _stp_dbug (const char *func, int line, const char *fmt, ...); void _stp_error (const char *fmt, ...); -- cgit