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
abf1e11a
Commit
abf1e11a
authored
Jun 23, 2009
by
Kyle McMartin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: add task_pt_regs macro
needed for perf_counters. Signed-off-by:
Kyle McMartin
<
kyle@mcmartin.ca
>
parent
538e2361
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
arch/parisc/include/asm/processor.h
arch/parisc/include/asm/processor.h
+3
-0
No files found.
arch/parisc/include/asm/processor.h
View file @
abf1e11a
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
#include <asm/types.h>
#include <asm/types.h>
#include <asm/system.h>
#include <asm/system.h>
#include <asm/percpu.h>
#include <asm/percpu.h>
#endif
/* __ASSEMBLY__ */
#endif
/* __ASSEMBLY__ */
#define KERNEL_STACK_SIZE (4*PAGE_SIZE)
#define KERNEL_STACK_SIZE (4*PAGE_SIZE)
...
@@ -127,6 +128,8 @@ struct thread_struct {
...
@@ -127,6 +128,8 @@ struct thread_struct {
unsigned
long
flags
;
unsigned
long
flags
;
};
};
#define task_pt_regs(tsk) ((struct pt_regs *)&((tsk)->thread.regs))
/* Thread struct flags. */
/* Thread struct flags. */
#define PARISC_UAC_NOPRINT (1UL << 0)
/* see prctl and unaligned.c */
#define PARISC_UAC_NOPRINT (1UL << 0)
/* see prctl and unaligned.c */
#define PARISC_UAC_SIGBUS (1UL << 1)
#define PARISC_UAC_SIGBUS (1UL << 1)
...
...
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