Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3694fbeb
Commit
3694fbeb
authored
Dec 07, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Always use linux/thread_info.h now for C code.
parent
5e2027e2
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
12 deletions
+11
-12
include/asm-sparc/current.h
include/asm-sparc/current.h
+1
-8
include/asm-sparc/pgtsrmmu.h
include/asm-sparc/pgtsrmmu.h
+3
-0
include/asm-sparc/system.h
include/asm-sparc/system.h
+1
-1
include/asm-sparc64/current.h
include/asm-sparc64/current.h
+1
-1
include/asm-sparc64/system.h
include/asm-sparc64/system.h
+1
-1
include/asm-sparc64/ttable.h
include/asm-sparc64/ttable.h
+4
-1
No files found.
include/asm-sparc/current.h
View file @
3694fbeb
...
...
@@ -16,12 +16,7 @@
* We might want to consider doing the same to shave a few cycles.
*/
// Applications do not include kernel headers anymore, period.
// #ifdef __KERNEL__
#ifndef _ASM_THREAD_INFO_H
#include <asm/thread_info.h>
#endif
#include <linux/thread_info.h>
struct
task_struct
;
...
...
@@ -33,6 +28,4 @@ static inline struct task_struct *__get_current(void)
}
#define current __get_current()
// #endif /* __KERNEL__ */
#endif
/* !(_ASM_CURRENT_H) */
include/asm-sparc/pgtsrmmu.h
View file @
3694fbeb
...
...
@@ -8,7 +8,10 @@
#define _SPARC_PGTSRMMU_H
#include <asm/page.h>
#ifdef __ASSEMBLY__
#include <asm/thread_info.h>
/* TI_UWINMASK for WINDOW_FLUSH */
#endif
/* PMD_SHIFT determines the size of the area a second-level page table entry can map */
#define SRMMU_PMD_SHIFT 18
...
...
include/asm-sparc/system.h
View file @
3694fbeb
...
...
@@ -7,9 +7,9 @@
#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/thread_info.h>
#include <asm/page.h>
#include <asm/openprom.h>
/* romvec. XXX will be dealt later. Promise. */
#include <asm/psr.h>
...
...
include/asm-sparc64/current.h
View file @
3694fbeb
#ifndef _SPARC64_CURRENT_H
#define _SPARC64_CURRENT_H
#include <
asm
/thread_info.h>
#include <
linux
/thread_info.h>
register
struct
task_struct
*
current
asm
(
"g4"
);
...
...
include/asm-sparc64/system.h
View file @
3694fbeb
...
...
@@ -3,10 +3,10 @@
#define __SPARC64_SYSTEM_H
#include <linux/config.h>
#include <linux/thread_info.h>
#include <asm/ptrace.h>
#include <asm/processor.h>
#include <asm/visasm.h>
#include <asm/thread_info.h>
#ifndef __ASSEMBLY__
/*
...
...
include/asm-sparc64/ttable.h
View file @
3694fbeb
...
...
@@ -3,9 +3,12 @@
#define _SPARC64_TTABLE_H
#include <linux/config.h>
#include <asm/thread_info.h>
#include <asm/utrap.h>
#ifdef __ASSEMBLY__
#include <asm/thread_info.h>
#endif
#define BOOT_KERNEL b sparc64_boot; nop; nop; nop; nop; nop; nop; nop;
/* We need a "cleaned" instruction... */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment