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
157cc3ee
Commit
157cc3ee
authored
Mar 13, 2004
by
James Bottomley
Committed by
Linus Torvalds
Mar 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fix voyager to boot again
The very early memory detection patch broke voyager. This fixes it again.
parent
46385763
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
arch/i386/Kconfig
arch/i386/Kconfig
+5
-0
arch/i386/defconfig
arch/i386/defconfig
+1
-0
arch/i386/kernel/Makefile
arch/i386/kernel/Makefile
+2
-1
arch/i386/mach-voyager/voyager_smp.c
arch/i386/mach-voyager/voyager_smp.c
+3
-1
No files found.
arch/i386/Kconfig
View file @
157cc3ee
...
@@ -1332,6 +1332,11 @@ config X86_BIOS_REBOOT
...
@@ -1332,6 +1332,11 @@ config X86_BIOS_REBOOT
depends on !(X86_VISWS || X86_VOYAGER)
depends on !(X86_VISWS || X86_VOYAGER)
default y
default y
config X86_TRAMPOLINE
bool
depends on X86_SMP || (X86_VOYAGER && SMP)
default y
config PC
config PC
bool
bool
depends on X86 && !EMBEDDED
depends on X86 && !EMBEDDED
...
...
arch/i386/defconfig
View file @
157cc3ee
...
@@ -1212,4 +1212,5 @@ CONFIG_CRC32=y
...
@@ -1212,4 +1212,5 @@ CONFIG_CRC32=y
CONFIG_X86_SMP=y
CONFIG_X86_SMP=y
CONFIG_X86_HT=y
CONFIG_X86_HT=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_X86_TRAMPOLINE=y
CONFIG_PC=y
CONFIG_PC=y
arch/i386/kernel/Makefile
View file @
157cc3ee
...
@@ -18,7 +18,8 @@ obj-$(CONFIG_X86_MSR) += msr.o
...
@@ -18,7 +18,8 @@ obj-$(CONFIG_X86_MSR) += msr.o
obj-$(CONFIG_X86_CPUID)
+=
cpuid.o
obj-$(CONFIG_X86_CPUID)
+=
cpuid.o
obj-$(CONFIG_MICROCODE)
+=
microcode.o
obj-$(CONFIG_MICROCODE)
+=
microcode.o
obj-$(CONFIG_APM)
+=
apm.o
obj-$(CONFIG_APM)
+=
apm.o
obj-$(CONFIG_X86_SMP)
+=
smp.o smpboot.o trampoline.o
obj-$(CONFIG_X86_SMP)
+=
smp.o smpboot.o
obj-$(CONFIG_X86_TRAMPOLINE)
+=
trampoline.o
obj-$(CONFIG_X86_MPPARSE)
+=
mpparse.o
obj-$(CONFIG_X86_MPPARSE)
+=
mpparse.o
obj-$(CONFIG_X86_LOCAL_APIC)
+=
apic.o nmi.o
obj-$(CONFIG_X86_LOCAL_APIC)
+=
apic.o nmi.o
obj-$(CONFIG_X86_IO_APIC)
+=
io_apic.o
obj-$(CONFIG_X86_IO_APIC)
+=
io_apic.o
...
...
arch/i386/mach-voyager/voyager_smp.c
View file @
157cc3ee
...
@@ -623,7 +623,9 @@ do_boot_cpu(__u8 cpu)
...
@@ -623,7 +623,9 @@ do_boot_cpu(__u8 cpu)
((
virt_to_phys
(
page_table_copies
))
&
PAGE_MASK
)
((
virt_to_phys
(
page_table_copies
))
&
PAGE_MASK
)
|
_PAGE_RW
|
_PAGE_USER
|
_PAGE_PRESENT
;
|
_PAGE_RW
|
_PAGE_USER
|
_PAGE_PRESENT
;
#else
#else
((
unsigned
long
*
)
swapper_pg_dir
)[
0
]
=
0x102007
;
((
unsigned
long
*
)
swapper_pg_dir
)[
0
]
=
(
virt_to_phys
(
pg0
)
&
PAGE_MASK
)
|
_PAGE_RW
|
_PAGE_USER
|
_PAGE_PRESENT
;
#endif
#endif
if
(
quad_boot
)
{
if
(
quad_boot
)
{
...
...
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