From: alex Date: Tue, 13 Jan 2004 21:25:58 +0000 (+0000) Subject: - suse kernels have cpu_inline() definition. so, we need not to re-define it X-Git-Tag: 1.0.3~66 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=98d2e540b5e85fd8eb622976e4584f4ac305d44d;p=fs%2Flustre-release.git - suse kernels have cpu_inline() definition. so, we need not to re-define it --- diff --git a/lustre/include/linux/lustre_compat25.h b/lustre/include/linux/lustre_compat25.h index fdd1abf..ed544ab 100644 --- a/lustre/include/linux/lustre_compat25.h +++ b/lustre/include/linux/lustre_compat25.h @@ -110,7 +110,7 @@ static inline void clear_page_dirty(struct page *page) #define try_module_get __MOD_INC_USE_COUNT #define module_put __MOD_DEC_USE_COUNT #define LTIME_S(time) (time) -#ifndef CONFIG_RH_2_4_20 +#if !defined(CONFIG_RH_2_4_20) && !defined(cpu_online) #define cpu_online(cpu) (cpu_online_map & (1<