Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martyn Welch
linux
Commits
fcbc04c0
Commit
fcbc04c0
authored
17 years ago
by
Ingo Molnar
Browse files
Options
Downloads
Patches
Plain Diff
x86: voyager fix
Reported-by:
Adrian Bunk
<
bunk@kernel.org
>
Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
4d33bdb7
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/x86/Kconfig
+1
-1
1 addition, 1 deletion
arch/x86/Kconfig
arch/x86/mach-voyager/voyager_smp.c
+0
-17
0 additions, 17 deletions
arch/x86/mach-voyager/voyager_smp.c
with
1 addition
and
18 deletions
arch/x86/Kconfig
+
1
−
1
View file @
fcbc04c0
...
@@ -23,7 +23,7 @@ config X86
...
@@ -23,7 +23,7 @@ config X86
select HAVE_KPROBES
select HAVE_KPROBES
select HAVE_KRETPROBES
select HAVE_KRETPROBES
select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64)
select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64)
select HAVE_ARCH_KGDB
select HAVE_ARCH_KGDB
if !X86_VOYAGER
config GENERIC_LOCKBREAK
config GENERIC_LOCKBREAK
...
...
This diff is collapsed.
Click to expand it.
arch/x86/mach-voyager/voyager_smp.c
+
0
−
17
View file @
fcbc04c0
...
@@ -206,11 +206,6 @@ static struct irq_chip vic_chip = {
...
@@ -206,11 +206,6 @@ static struct irq_chip vic_chip = {
/* used to count up as CPUs are brought on line (starts at 0) */
/* used to count up as CPUs are brought on line (starts at 0) */
static
int
cpucount
=
0
;
static
int
cpucount
=
0
;
/* steal a page from the bottom of memory for the trampoline and
* squirrel its address away here. This will be in kernel virtual
* space */
unsigned
char
*
trampoline_base
;
/* The per cpu profile stuff - used in smp_local_timer_interrupt */
/* The per cpu profile stuff - used in smp_local_timer_interrupt */
static
DEFINE_PER_CPU
(
int
,
prof_multiplier
)
=
1
;
static
DEFINE_PER_CPU
(
int
,
prof_multiplier
)
=
1
;
static
DEFINE_PER_CPU
(
int
,
prof_old_multiplier
)
=
1
;
static
DEFINE_PER_CPU
(
int
,
prof_old_multiplier
)
=
1
;
...
@@ -427,18 +422,6 @@ void __init smp_store_cpu_info(int id)
...
@@ -427,18 +422,6 @@ void __init smp_store_cpu_info(int id)
identify_secondary_cpu
(
c
);
identify_secondary_cpu
(
c
);
}
}
/* set up the trampoline and return the physical address of the code */
unsigned
long
__init
setup_trampoline
(
void
)
{
/* these two are global symbols in trampoline.S */
extern
const
__u8
trampoline_end
[];
extern
const
__u8
trampoline_data
[];
memcpy
(
trampoline_base
,
trampoline_data
,
trampoline_end
-
trampoline_data
);
return
virt_to_phys
(
trampoline_base
);
}
/* Routine initially called when a non-boot CPU is brought online */
/* Routine initially called when a non-boot CPU is brought online */
static
void
__init
start_secondary
(
void
*
unused
)
static
void
__init
start_secondary
(
void
*
unused
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment