[ofw] [PATCH] add __inline attribute

Smith, Stan stan.smith at intel.com
Wed Jul 13 09:21:21 PDT 2011


Done.
Revision: 3237
Author: stansmith
Date: 9:08:36 AM, Wednesday, July 13, 2011
Message:
[INC] add __inline attribute to WorkEntryInit()
----
Modified : /gen1/trunk/inc/kernel/work_queue.h


>-----Original Message-----
>From: Tzachi Dar [mailto:tzachid at mellanox.co.il]
>Sent: Monday, July 11, 2011 11:32 PM
>To: Smith, Stan
>Cc: ofw at lists.openfabrics.org
>Subject: RE: [PATCH] add __inline attribute
>
>Yes please.
>
>> -----Original Message-----
>> From: Smith, Stan [mailto:stan.smith at intel.com]
>> Sent: Tuesday, July 12, 2011 2:56 AM
>> To: Tzachi Dar
>> Cc: ofw at lists.openfabrics.org
>> Subject: [PATCH] add __inline attribute
>>
>> 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