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
7b0d0f72
Commit
7b0d0f72
authored
Nov 17, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Implement module_{init,core}_size.
parent
f8e156eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
arch/sparc/kernel/module.c
arch/sparc/kernel/module.c
+17
-0
arch/sparc64/kernel/module.c
arch/sparc64/kernel/module.c
+17
-0
No files found.
arch/sparc/kernel/module.c
View file @
7b0d0f72
...
...
@@ -36,6 +36,23 @@ void module_free(struct module *mod, void *module_region)
table entries. */
}
/* We don't need anything special. */
long
module_core_size
(
const
Elf32_Ehdr
*
hdr
,
const
Elf32_Shdr
*
sechdrs
,
const
char
*
secstrings
,
struct
module
*
module
)
{
return
module
->
core_size
;
}
long
module_init_size
(
const
Elf32_Ehdr
*
hdr
,
const
Elf32_Shdr
*
sechdrs
,
const
char
*
secstrings
,
struct
module
*
module
)
{
return
module
->
init_size
;
}
int
apply_relocate
(
Elf32_Shdr
*
sechdrs
,
const
char
*
strtab
,
unsigned
int
symindex
,
...
...
arch/sparc64/kernel/module.c
View file @
7b0d0f72
...
...
@@ -143,6 +143,23 @@ void module_free(struct module *mod, void *module_region)
table entries. */
}
/* We don't need anything special. */
long
module_core_size
(
const
Elf64_Ehdr
*
hdr
,
const
Elf64_Shdr
*
sechdrs
,
const
char
*
secstrings
,
struct
module
*
module
)
{
return
module
->
core_size
;
}
long
module_init_size
(
const
Elf64_Ehdr
*
hdr
,
const
Elf64_Shdr
*
sechdrs
,
const
char
*
secstrings
,
struct
module
*
module
)
{
return
module
->
init_size
;
}
int
apply_relocate
(
Elf64_Shdr
*
sechdrs
,
const
char
*
strtab
,
unsigned
int
symindex
,
...
...
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