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
543d5afe
Commit
543d5afe
authored
Dec 10, 2007
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Kill off superfluous __KERNEL__ check in asm/elf.h.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
98c4ecde
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
include/asm-sh/elf.h
include/asm-sh/elf.h
+0
-3
No files found.
include/asm-sh/elf.h
View file @
543d5afe
...
@@ -89,7 +89,6 @@ typedef struct user_fpu_struct elf_fpregset_t;
...
@@ -89,7 +89,6 @@ typedef struct user_fpu_struct elf_fpregset_t;
#define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3)
#define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3)
#define ELF_CORE_COPY_REGS(_dest,_regs) \
#define ELF_CORE_COPY_REGS(_dest,_regs) \
memcpy((char *) &_dest, (char *) _regs, \
memcpy((char *) &_dest, (char *) _regs, \
sizeof(struct pt_regs));
sizeof(struct pt_regs));
...
@@ -139,7 +138,6 @@ typedef struct user_fpu_struct elf_fpregset_t;
...
@@ -139,7 +138,6 @@ typedef struct user_fpu_struct elf_fpregset_t;
_r->sr = SR_FD; } while (0)
_r->sr = SR_FD; } while (0)
#endif
#endif
#ifdef __KERNEL__
#define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT)
#define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX_32BIT)
struct
task_struct
;
struct
task_struct
;
extern
int
dump_task_regs
(
struct
task_struct
*
,
elf_gregset_t
*
);
extern
int
dump_task_regs
(
struct
task_struct
*
,
elf_gregset_t
*
);
...
@@ -147,7 +145,6 @@ extern int dump_task_fpu (struct task_struct *, elf_fpregset_t *);
...
@@ -147,7 +145,6 @@ extern int dump_task_fpu (struct task_struct *, elf_fpregset_t *);
#define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs)
#define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs)
#define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) dump_task_fpu(tsk, elf_fpregs)
#define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) dump_task_fpu(tsk, elf_fpregs)
#endif
#ifdef CONFIG_VSYSCALL
#ifdef CONFIG_VSYSCALL
/* vDSO has arch_setup_additional_pages */
/* vDSO has arch_setup_additional_pages */
...
...
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