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
4822994a
Commit
4822994a
authored
Jun 14, 2009
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Convert to asm-generic/current.h.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
bff7b55b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
20 deletions
+1
-20
arch/sh/include/asm/current.h
arch/sh/include/asm/current.h
+1
-20
No files found.
arch/sh/include/asm/current.h
View file @
4822994a
#ifndef __ASM_SH_CURRENT_H
#define __ASM_SH_CURRENT_H
/*
* Copyright (C) 1999 Niibe Yutaka
*
*/
#include <linux/thread_info.h>
struct
task_struct
;
static
__inline__
struct
task_struct
*
get_current
(
void
)
{
return
current_thread_info
()
->
task
;
}
#define current get_current()
#endif
/* __ASM_SH_CURRENT_H */
#include <asm-generic/current.h>
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