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
9759d22c
Commit
9759d22c
authored
Mar 28, 2009
by
Russell King
Committed by
Russell King
Mar 28, 2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into devel
Conflicts: arch/arm/include/asm/elf.h arch/arm/kernel/module.c
parents
ed40d0c4
f0bba9f9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
3 deletions
+16
-3
arch/arm/include/asm/elf.h
arch/arm/include/asm/elf.h
+1
-0
arch/arm/kernel/module.c
arch/arm/kernel/module.c
+9
-0
arch/arm/mach-iop13xx/pci.c
arch/arm/mach-iop13xx/pci.c
+4
-1
arch/arm/mm/mmu.c
arch/arm/mm/mmu.c
+1
-1
drivers/scsi/arm/cumana_2.c
drivers/scsi/arm/cumana_2.c
+1
-1
No files found.
arch/arm/include/asm/elf.h
View file @
9759d22c
...
...
@@ -50,6 +50,7 @@ typedef struct user_fp elf_fpregset_t;
#define R_ARM_ABS32 2
#define R_ARM_CALL 28
#define R_ARM_JUMP24 29
#define R_ARM_V4BX 40
#define R_ARM_PREL31 42
/*
...
...
arch/arm/kernel/module.c
View file @
9759d22c
...
...
@@ -155,6 +155,15 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
*
(
u32
*
)
loc
|=
offset
&
0x00ffffff
;
break
;
case
R_ARM_V4BX
:
/* Preserve Rm and the condition code. Alter
* other bits to re-code instruction as
* MOV PC,Rm.
*/
*
(
u32
*
)
loc
&=
0xf000000f
;
*
(
u32
*
)
loc
|=
0x01a0f000
;
break
;
case
R_ARM_PREL31
:
offset
=
*
(
u32
*
)
loc
+
sym
->
st_value
-
loc
;
*
(
u32
*
)
loc
=
offset
&
0x7fffffff
;
...
...
arch/arm/mach-iop13xx/pci.c
View file @
9759d22c
...
...
@@ -1026,8 +1026,10 @@ int iop13xx_pci_setup(int nr, struct pci_sys_data *sys)
which_atu
=
0
;
}
if
(
!
which_atu
)
if
(
!
which_atu
)
{
kfree
(
res
);
return
0
;
}
switch
(
which_atu
)
{
case
IOP13XX_INIT_ATU_ATUX
:
...
...
@@ -1074,6 +1076,7 @@ int iop13xx_pci_setup(int nr, struct pci_sys_data *sys)
sys
->
map_irq
=
iop13xx_pcie_map_irq
;
break
;
default:
kfree
(
res
);
return
0
;
}
...
...
arch/arm/mm/mmu.c
View file @
9759d22c
...
...
@@ -723,7 +723,7 @@ static void __init sanity_check_meminfo(void)
* the vmalloc area.
*/
if
(
__va
(
bank
->
start
)
>=
VMALLOC_MIN
||
__va
(
bank
->
start
)
<
PAGE_OFFSET
)
{
__va
(
bank
->
start
)
<
(
void
*
)
PAGE_OFFSET
)
{
printk
(
KERN_NOTICE
"Ignoring RAM at %.8lx-%.8lx "
"(vmalloc region overlap).
\n
"
,
bank
->
start
,
bank
->
start
+
bank
->
size
-
1
);
...
...
drivers/scsi/arm/cumana_2.c
View file @
9759d22c
...
...
@@ -318,7 +318,7 @@ cumanascsi_2_set_proc_info(struct Scsi_Host *host, char *buffer, int length)
{
int
ret
=
length
;
if
(
length
>=
11
&&
str
cmp
(
buffer
,
"CUMANASCSI2"
)
==
0
)
{
if
(
length
>=
11
&&
str
ncmp
(
buffer
,
"CUMANASCSI2"
,
11
)
==
0
)
{
buffer
+=
11
;
length
-=
11
;
...
...
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