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
03e4e085
Commit
03e4e085
authored
Aug 16, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix "no_idt" usage in reboot code, noticed by better asm
typechecking in gcc-3.3.1.
parent
4cf24b4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
arch/i386/kernel/reboot.c
arch/i386/kernel/reboot.c
+3
-2
No files found.
arch/i386/kernel/reboot.c
View file @
03e4e085
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
*/
*/
void
(
*
pm_power_off
)(
void
);
void
(
*
pm_power_off
)(
void
);
static
long
no_idt
[
2
];
static
int
reboot_mode
;
static
int
reboot_mode
;
int
reboot_thru_bios
;
int
reboot_thru_bios
;
...
@@ -87,7 +86,9 @@ static struct
...
@@ -87,7 +86,9 @@ static struct
unsigned
long
long
*
base
__attribute__
((
packed
));
unsigned
long
long
*
base
__attribute__
((
packed
));
}
}
real_mode_gdt
=
{
sizeof
(
real_mode_gdt_entries
)
-
1
,
real_mode_gdt_entries
},
real_mode_gdt
=
{
sizeof
(
real_mode_gdt_entries
)
-
1
,
real_mode_gdt_entries
},
real_mode_idt
=
{
0x3ff
,
0
};
real_mode_idt
=
{
0x3ff
,
0
},
no_idt
=
{
0
,
0
};
/* This is 16-bit protected mode code to disable paging and the cache,
/* This is 16-bit protected mode code to disable paging and the cache,
switch to real mode and jump to the BIOS reset code.
switch to real mode and jump to the BIOS reset code.
...
...
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