linux/include/linux/spinlock_api.h

#include <linux/spinlock.h>