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
nexedi
linux
Commits
c7868048
Commit
c7868048
authored
Dec 14, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/rmk/linux-2.6-arm
parents
9d149c27
c2e26114
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
arch/arm/kernel/module.c
arch/arm/kernel/module.c
+2
-0
arch/arm/mach-pxa/pm.c
arch/arm/mach-pxa/pm.c
+5
-4
include/asm-arm/elf.h
include/asm-arm/elf.h
+2
-0
No files found.
arch/arm/kernel/module.c
View file @
c7868048
...
@@ -101,6 +101,8 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
...
@@ -101,6 +101,8 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
break
;
break
;
case
R_ARM_PC24
:
case
R_ARM_PC24
:
case
R_ARM_CALL
:
case
R_ARM_JUMP24
:
offset
=
(
*
(
u32
*
)
loc
&
0x00ffffff
)
<<
2
;
offset
=
(
*
(
u32
*
)
loc
&
0x00ffffff
)
<<
2
;
if
(
offset
&
0x02000000
)
if
(
offset
&
0x02000000
)
offset
-=
0x04000000
;
offset
-=
0x04000000
;
...
...
arch/arm/mach-pxa/pm.c
View file @
c7868048
...
@@ -155,19 +155,20 @@ int pxa_pm_enter(suspend_state_t state)
...
@@ -155,19 +155,20 @@ int pxa_pm_enter(suspend_state_t state)
PSPR
=
0
;
PSPR
=
0
;
/* restore registers */
/* restore registers */
RESTORE_GPLEVEL
(
0
);
RESTORE_GPLEVEL
(
1
);
RESTORE_GPLEVEL
(
2
);
RESTORE
(
GPDR0
);
RESTORE
(
GPDR1
);
RESTORE
(
GPDR2
);
RESTORE
(
GAFR0_L
);
RESTORE
(
GAFR0_U
);
RESTORE
(
GAFR0_L
);
RESTORE
(
GAFR0_U
);
RESTORE
(
GAFR1_L
);
RESTORE
(
GAFR1_U
);
RESTORE
(
GAFR1_L
);
RESTORE
(
GAFR1_U
);
RESTORE
(
GAFR2_L
);
RESTORE
(
GAFR2_U
);
RESTORE
(
GAFR2_L
);
RESTORE
(
GAFR2_U
);
RESTORE_GPLEVEL
(
0
);
RESTORE_GPLEVEL
(
1
);
RESTORE_GPLEVEL
(
2
);
RESTORE
(
GPDR0
);
RESTORE
(
GPDR1
);
RESTORE
(
GPDR2
);
RESTORE
(
GRER0
);
RESTORE
(
GRER1
);
RESTORE
(
GRER2
);
RESTORE
(
GRER0
);
RESTORE
(
GRER1
);
RESTORE
(
GRER2
);
RESTORE
(
GFER0
);
RESTORE
(
GFER1
);
RESTORE
(
GFER2
);
RESTORE
(
GFER0
);
RESTORE
(
GFER1
);
RESTORE
(
GFER2
);
RESTORE
(
PGSR0
);
RESTORE
(
PGSR1
);
RESTORE
(
PGSR2
);
RESTORE
(
PGSR0
);
RESTORE
(
PGSR1
);
RESTORE
(
PGSR2
);
#ifdef CONFIG_PXA27x
#ifdef CONFIG_PXA27x
RESTORE
(
MDREFR
);
RESTORE
(
MDREFR
);
RESTORE
(
GAFR3_L
);
RESTORE
(
GAFR3_U
);
RESTORE_GPLEVEL
(
3
);
RESTORE_GPLEVEL
(
3
);
RESTORE
(
GPDR3
);
RESTORE
(
GPDR3
);
RESTORE
(
GRER3
);
RESTORE
(
GFER3
);
RESTORE
(
PGSR3
);
RESTORE
(
GAFR3_L
);
RESTORE
(
GAFR3_U
);
RESTORE
(
GRER3
);
RESTORE
(
GFER3
);
RESTORE
(
PGSR3
);
RESTORE
(
PWER
);
RESTORE
(
PCFR
);
RESTORE
(
PRER
);
RESTORE
(
PWER
);
RESTORE
(
PCFR
);
RESTORE
(
PRER
);
RESTORE
(
PFER
);
RESTORE
(
PKWR
);
RESTORE
(
PFER
);
RESTORE
(
PKWR
);
#endif
#endif
...
...
include/asm-arm/elf.h
View file @
c7868048
...
@@ -22,6 +22,8 @@ typedef unsigned long elf_freg_t[3];
...
@@ -22,6 +22,8 @@ typedef unsigned long elf_freg_t[3];
#define R_ARM_NONE 0
#define R_ARM_NONE 0
#define R_ARM_PC24 1
#define R_ARM_PC24 1
#define R_ARM_ABS32 2
#define R_ARM_ABS32 2
#define R_ARM_CALL 28
#define R_ARM_JUMP24 29
#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
typedef
elf_greg_t
elf_gregset_t
[
ELF_NGREG
];
typedef
elf_greg_t
elf_gregset_t
[
ELF_NGREG
];
...
...
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