https://github.com/torvalds/linux
Raw File
Tip revision: bb176f67090ca54869fc1262c913aa69d2ede070 authored by Linus Torvalds on 23 October 2017, 10:49:47 UTC
Linux 4.14-rc6
Tip revision: bb176f6
current.h
#ifndef __ASM_GENERIC_CURRENT_H
#define __ASM_GENERIC_CURRENT_H

#include <linux/thread_info.h>

#define get_current() (current_thread_info()->task)
#define current get_current()

#endif /* __ASM_GENERIC_CURRENT_H */
back to top