summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2003-01-02 08:19:24 -0800
committerDavid S. Miller <davem@nuts.ninka.net>2003-01-02 08:19:24 -0800
commit1db49d958489d3a094363d17e9057c67869139cb (patch)
treea7c0caa62fcedaf48fdd825c2728a301d6495ecf /include
parent3ce50dce5a98229265ec4e75a5b406d73600f4ec (diff)
[SPARC]: Include file cleanups, fixes restart_block compile.
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc/bitops.h3
-rw-r--r--include/asm-sparc/system.h1
-rw-r--r--include/asm-sparc/thread_info.h2
3 files changed, 2 insertions, 4 deletions
diff --git a/include/asm-sparc/bitops.h b/include/asm-sparc/bitops.h
index dae6d062eeb5..5b9707927b43 100644
--- a/include/asm-sparc/bitops.h
+++ b/include/asm-sparc/bitops.h
@@ -9,9 +9,8 @@
#ifndef _SPARC_BITOPS_H
#define _SPARC_BITOPS_H
-#include <linux/kernel.h>
+#include <linux/compiler.h>
#include <asm/byteorder.h>
-#include <asm/system.h>
#ifdef __KERNEL__
diff --git a/include/asm-sparc/system.h b/include/asm-sparc/system.h
index b743926155c5..244647dc22c4 100644
--- a/include/asm-sparc/system.h
+++ b/include/asm-sparc/system.h
@@ -7,6 +7,7 @@
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/threads.h> /* NR_CPUS */
+#include <linux/thread_info.h>
#include <asm/segment.h>
#include <asm/page.h>
diff --git a/include/asm-sparc/thread_info.h b/include/asm-sparc/thread_info.h
index f724a01c94ff..bc004d4c0e3b 100644
--- a/include/asm-sparc/thread_info.h
+++ b/include/asm-sparc/thread_info.h
@@ -11,8 +11,6 @@
#ifndef _ASM_THREAD_INFO_H
#define _ASM_THREAD_INFO_H
-// XXX todo: comment thread_info components and see what breaks.
-
#ifdef __KERNEL__
#ifndef __ASSEMBLY__