Skip to content

Commit 626d607

Browse files
author
Nick Piggin
committed
bit_spinlock: add required includes
Signed-off-by: Nick Piggin <npiggin@kernel.dk>
1 parent 4e35e60 commit 626d607

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/linux/bit_spinlock.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#ifndef __LINUX_BIT_SPINLOCK_H
22
#define __LINUX_BIT_SPINLOCK_H
33

4+
#include <linux/kernel.h>
5+
#include <linux/preempt.h>
6+
#include <asm/atomic.h>
7+
48
/*
59
* bit-based spin_lock()
610
*

0 commit comments

Comments
 (0)