projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPARC64]: Fix pfn_pte() build failure.
[powerpc.git]
/
include
/
asm-cris
/
processor.h
diff --git
a/include/asm-cris/processor.h
b/include/asm-cris/processor.h
index
dce4100
..
568da1d
100644
(file)
--- a/
include/asm-cris/processor.h
+++ b/
include/asm-cris/processor.h
@@
-10,7
+10,6
@@
#ifndef __ASM_CRIS_PROCESSOR_H
#define __ASM_CRIS_PROCESSOR_H
#ifndef __ASM_CRIS_PROCESSOR_H
#define __ASM_CRIS_PROCESSOR_H
-#include <linux/config.h>
#include <asm/system.h>
#include <asm/page.h>
#include <asm/ptrace.h>
#include <asm/system.h>
#include <asm/page.h>
#include <asm/ptrace.h>
@@
-45,7
+44,8
@@
struct task_struct;
* Dito but for the currently running task
*/
* Dito but for the currently running task
*/
-#define current_regs() user_regs(current->thread_info)
+#define task_pt_regs(task) user_regs(task_thread_info(task))
+#define current_regs() task_pt_regs(current)
static inline void prepare_to_copy(struct task_struct *tsk)
{
static inline void prepare_to_copy(struct task_struct *tsk)
{