#include #include #include #include #include #include static __thread struct task_struct current_obj; /* lockdep wants these */ bool debug_locks = true; bool debug_locks_silent; __attribute__((destructor)) static void liblockdep_exit(void) { debug_check_no_locks_held(); } struct task_struct *__curr(void) { if (current_obj.pid == 0) { /* Makes lockdep output pretty */ prctl(PR_GET_NAME, current_obj.comm); current_obj.pid = syscall(__NR_gettid); } return ¤t_obj; } >
summaryrefslogtreecommitdiff
ModeNameSize
-rw-r--r--Makefile506logplain
-rw-r--r--ak4xxx.c5091logplain
-rw-r--r--amp.c2772logplain
-rw-r--r--amp.h1594logplain
-rw-r--r--aureon.c62319logplain
-rw-r--r--aureon.h2419logplain
-rw-r--r--delta.c26497logplain