Whamcloud - gitweb
* reduced the number of warnings for liblustre compilation
authoreeb <eeb>
Tue, 11 Nov 2003 16:21:56 +0000 (16:21 +0000)
committereeb <eeb>
Tue, 11 Nov 2003 16:21:56 +0000 (16:21 +0000)
lnet/include/linux/kp30.h
lustre/portals/include/linux/kp30.h

index 916f6fd..344cf28 100644 (file)
@@ -601,7 +601,6 @@ extern struct prof_ent prof_ents[MAX_PROFS];
 extern spinlock_t stack_backtrace_lock;
 
 char *portals_debug_dumpstack(void);
-char *portals_nid2str(int nal, ptl_nid_t nid, char *str);
 void portals_run_upcall(char **argv);
 void portals_run_lbug_upcall(char * file, const char *fn, const int line);
 void portals_debug_dumplog(void);
@@ -671,6 +670,9 @@ extern void kportal_blockallsigs (void);
            getpid() , stack, ## a);
 #endif
 
+/* support decl needed both by kernel and liblustre */
+char *portals_nid2str(int nal, ptl_nid_t nid, char *str);
+
 #ifndef CURRENT_TIME
 # define CURRENT_TIME time(0)
 #endif
index 916f6fd..344cf28 100644 (file)
@@ -601,7 +601,6 @@ extern struct prof_ent prof_ents[MAX_PROFS];
 extern spinlock_t stack_backtrace_lock;
 
 char *portals_debug_dumpstack(void);
-char *portals_nid2str(int nal, ptl_nid_t nid, char *str);
 void portals_run_upcall(char **argv);
 void portals_run_lbug_upcall(char * file, const char *fn, const int line);
 void portals_debug_dumplog(void);
@@ -671,6 +670,9 @@ extern void kportal_blockallsigs (void);
            getpid() , stack, ## a);
 #endif
 
+/* support decl needed both by kernel and liblustre */
+char *portals_nid2str(int nal, ptl_nid_t nid, char *str);
+
 #ifndef CURRENT_TIME
 # define CURRENT_TIME time(0)
 #endif