From 98d2e540b5e85fd8eb622976e4584f4ac305d44d Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 13 Jan 2004 21:25:58 +0000 Subject: [PATCH] - suse kernels have cpu_inline() definition. so, we need not to re-define it --- lustre/include/linux/lustre_compat25.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<