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
de9dbbe7
Commit
de9dbbe7
authored
Apr 23, 2003
by
Andrew Morton
Committed by
Jeff Garzik
Apr 23, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] warning fixes
Fix some warnings from the new code-patching stuff.
parent
f1cd7ffc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
arch/i386/kernel/module.c
arch/i386/kernel/module.c
+1
-1
arch/i386/kernel/setup.c
arch/i386/kernel/setup.c
+1
-1
No files found.
arch/i386/kernel/module.c
View file @
de9dbbe7
...
...
@@ -110,7 +110,7 @@ int module_finalize(const Elf_Ehdr *hdr,
const
Elf_Shdr
*
sechdrs
,
struct
module
*
me
)
{
Elf_Shdr
*
s
;
const
Elf_Shdr
*
s
;
char
*
secstrings
=
(
void
*
)
hdr
+
sechdrs
[
hdr
->
e_shstrndx
].
sh_offset
;
/* look for .altinstructions to patch */
...
...
arch/i386/kernel/setup.c
View file @
de9dbbe7
...
...
@@ -807,7 +807,7 @@ void apply_alternatives(void *start, void *end)
struct
alt_instr
*
a
;
int
diff
,
i
,
k
;
for
(
a
=
start
;
a
<
end
;
for
(
a
=
start
;
a
<
(
struct
alt_instr
*
)
end
;
a
=
(
void
*
)
ALIGN
((
unsigned
long
)(
a
+
1
)
+
a
->
instrlen
,
4
))
{
if
(
!
boot_cpu_has
(
a
->
cpuid
))
continue
;
...
...
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