@@ -35,25 +35,27 @@ static inline struct task_struct *get_current(void)
/**
* current - Get current task pointer of current task
*
* Returns a pointer to the task struct of the running task
* SYNOPSIS:
* #define current
* RETURN VALUE:
* Pointer to current task of type task_struct
*/
/* _VMKLNX_CODECHECK_: current */
/* If the macro 'current' or its comments are changed please
* update the documentation for 'current' in vmkdrivers/src_92/doc/dummyDefs.doc
#define current get_current()
#else
#ifndef ASM_OFFSET_H
#include <asm/asm-offsets.h>
#endif
#define GET_CURRENT(reg) movq %gs:(pda_pcurrent),reg