Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.18-rc6 28 lines 696 B view raw
1// SPDX-License-Identifier: GPL-2.0 2#include <linux/lockdep.h> 3#include <stdlib.h> 4 5/* Trivial API wrappers, we don't (yet) have RCU in user-space: */ 6#define hlist_for_each_entry_rcu hlist_for_each_entry 7#define hlist_add_head_rcu hlist_add_head 8#define hlist_del_rcu hlist_del 9#define list_for_each_entry_rcu list_for_each_entry 10#define list_add_tail_rcu list_add_tail 11 12u32 prandom_u32(void) 13{ 14 /* Used only by lock_pin_lock() which is dead code */ 15 abort(); 16} 17 18static struct new_utsname *init_utsname(void) 19{ 20 static struct new_utsname n = (struct new_utsname) { 21 .release = "liblockdep", 22 .version = LIBLOCKDEP_VERSION, 23 }; 24 25 return &n; 26} 27 28#include "../../../kernel/locking/lockdep.c"