[ofw] [PATCH] add __inline attribute

Smith, Stan stan.smith at intel.com
Mon Jul 11 16:55:35 PDT 2011


Hello,
  This addition is in the ROCE branch and not in the mainline.  Seems like a reasonable addition?
Should I go ahead and commit?

Stan.

--- inc/kernel/work_queue.h 	Mon Jul 11 15:53:47 2011
+++ inc/kernel/work_queue.h 	Thu Jun 30 13:49:02 2011
@@ -43,7 +43,7 @@
 
 }	WORK_ENTRY;
 
-static void WorkEntryInit(WORK_ENTRY *pWork,
+static __inline void WorkEntryInit(WORK_ENTRY *pWork,
 						  void (*WorkHandler)(struct _WORK_ENTRY *Work), void *Context)
 {
 	pWork->WorkHandler = WorkHandler;




More information about the ofw mailing list