Commit 0a3021f4 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Linus Torvalds
Browse files

Remove unnecessary includes of spinlock.h under include/linux



Remove the obviously unnecessary includes of <linux/spinlock.h> under the
include/linux/ directory, and fix the couple errors that are introduced as
a result of that.

Signed-off-by: default avatarRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9aacd599
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@
#include <linux/device.h>
#include <linux/list.h>
#include <linux/klist.h>
#include <linux/spinlock.h>

struct attribute_container {
	struct list_head	node;
+0 −1
Original line number Diff line number Diff line
@@ -44,7 +44,6 @@ typedef struct __user_cap_data_struct {
  
#ifdef __KERNEL__

#include <linux/spinlock.h>
#include <asm/current.h>

/* #define STRICT_CAP_T_TYPECHECKS */
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@
#define _LINUX_CONSOLE_H_ 1

#include <linux/types.h>
#include <linux/spinlock.h>

struct vc_data;
struct console_font_op;
+0 −1
Original line number Diff line number Diff line
@@ -11,7 +11,6 @@
#define __LINUX_DS17287RTC_H

#include <linux/rtc.h>			/* get the user-level API */
#include <linux/spinlock.h>		/* spinlock_t */
#include <linux/mc146818rtc.h>

/* Register A */
+1 −0
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ struct ipc_perm
#ifdef __KERNEL__

#include <linux/kref.h>
#include <linux/spinlock.h>

#define IPCMNI 32768  /* <= MAX_INT limit for ipc arrays (including sysctl changes) */

Loading