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
a852ca3d
Commit
a852ca3d
authored
May 16, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
e92f75e7
1ffdb4f5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
arch/sparc64/kernel/pci.c
arch/sparc64/kernel/pci.c
+2
-0
arch/sparc64/kernel/unaligned.c
arch/sparc64/kernel/unaligned.c
+1
-1
scripts/modpost.c
scripts/modpost.c
+1
-0
No files found.
arch/sparc64/kernel/pci.c
View file @
a852ca3d
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
*/
*/
#include <linux/config.h>
#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/string.h>
#include <linux/sched.h>
#include <linux/sched.h>
...
@@ -799,6 +800,7 @@ int pci_domain_nr(struct pci_bus *pbus)
...
@@ -799,6 +800,7 @@ int pci_domain_nr(struct pci_bus *pbus)
return
ret
;
return
ret
;
}
}
EXPORT_SYMBOL
(
pci_domain_nr
);
int
pci_name_bus
(
char
*
name
,
struct
pci_bus
*
bus
)
int
pci_name_bus
(
char
*
name
,
struct
pci_bus
*
bus
)
{
{
...
...
arch/sparc64/kernel/unaligned.c
View file @
a852ca3d
...
@@ -175,7 +175,7 @@ static unsigned long compute_effective_address(struct pt_regs *regs,
...
@@ -175,7 +175,7 @@ static unsigned long compute_effective_address(struct pt_regs *regs,
}
}
/* This is just to make gcc think die_if_kernel does return... */
/* This is just to make gcc think die_if_kernel does return... */
static
void
unaligned_panic
(
char
*
str
,
struct
pt_regs
*
regs
)
static
void
__attribute_used__
unaligned_panic
(
char
*
str
,
struct
pt_regs
*
regs
)
{
{
die_if_kernel
(
str
,
regs
);
die_if_kernel
(
str
,
regs
);
}
}
...
...
scripts/modpost.c
View file @
a852ca3d
...
@@ -267,6 +267,7 @@ parse_elf(struct elf_info *info, const char *filename)
...
@@ -267,6 +267,7 @@ parse_elf(struct elf_info *info, const char *filename)
hdr
->
e_shoff
=
TO_NATIVE
(
hdr
->
e_shoff
);
hdr
->
e_shoff
=
TO_NATIVE
(
hdr
->
e_shoff
);
hdr
->
e_shstrndx
=
TO_NATIVE
(
hdr
->
e_shstrndx
);
hdr
->
e_shstrndx
=
TO_NATIVE
(
hdr
->
e_shstrndx
);
hdr
->
e_shnum
=
TO_NATIVE
(
hdr
->
e_shnum
);
hdr
->
e_shnum
=
TO_NATIVE
(
hdr
->
e_shnum
);
hdr
->
e_machine
=
TO_NATIVE
(
hdr
->
e_machine
);
sechdrs
=
(
void
*
)
hdr
+
hdr
->
e_shoff
;
sechdrs
=
(
void
*
)
hdr
+
hdr
->
e_shoff
;
info
->
sechdrs
=
sechdrs
;
info
->
sechdrs
=
sechdrs
;
...
...
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