1 typedef struct {} raw_spinlock_t; 2 typedef struct { 3 raw_spinlock_t raw_lock; 4 } spinlock_t; 5 struct sk_buff_head { 6 int i; 7 spinlock_t lock; 8 }; 9 struct sk_buff_head audit_skb_queue; audit_init(void)10void audit_init(void) 11 { 12 struct sk_buff_head *list = &audit_skb_queue; 13 audit_skb_queue.lock = (spinlock_t) { .raw_lock = { } }; 14 } 15