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
a7e6601f
Commit
a7e6601f
authored
Sep 21, 2017
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: Move init_per_cpu() into init section
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
ea697648
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
arch/parisc/include/asm/smp.h
arch/parisc/include/asm/smp.h
+1
-0
arch/parisc/kernel/processor.c
arch/parisc/kernel/processor.c
+1
-1
arch/parisc/kernel/setup.c
arch/parisc/kernel/setup.c
+1
-1
arch/parisc/kernel/smp.c
arch/parisc/kernel/smp.c
+1
-2
No files found.
arch/parisc/include/asm/smp.h
View file @
a7e6601f
#ifndef __ASM_SMP_H
#define __ASM_SMP_H
extern
int
init_per_cpu
(
int
cpuid
);
#if defined(CONFIG_SMP)
...
...
arch/parisc/kernel/processor.c
View file @
a7e6601f
...
...
@@ -317,7 +317,7 @@ void __init collect_boot_cpu_data(void)
*
* o Enable CPU profiling hooks.
*/
int
init_per_cpu
(
int
cpunum
)
int
__init
init_per_cpu
(
int
cpunum
)
{
int
ret
;
struct
pdc_coproc_cfg
coproc_cfg
;
...
...
arch/parisc/kernel/setup.c
View file @
a7e6601f
...
...
@@ -49,6 +49,7 @@
#include <asm/io.h>
#include <asm/setup.h>
#include <asm/unwind.h>
#include <asm/smp.h>
static
char
__initdata
command_line
[
COMMAND_LINE_SIZE
];
...
...
@@ -116,7 +117,6 @@ void __init dma_ops_init(void)
}
#endif
extern
int
init_per_cpu
(
int
cpuid
);
extern
void
collect_boot_cpu_data
(
void
);
void
__init
setup_arch
(
char
**
cmdline_p
)
...
...
arch/parisc/kernel/smp.c
View file @
a7e6601f
...
...
@@ -255,12 +255,11 @@ void arch_send_call_function_single_ipi(int cpu)
static
void
__init
smp_cpu_init
(
int
cpunum
)
{
extern
int
init_per_cpu
(
int
);
/* arch/parisc/kernel/processor.c */
extern
void
init_IRQ
(
void
);
/* arch/parisc/kernel/irq.c */
extern
void
start_cpu_itimer
(
void
);
/* arch/parisc/kernel/time.c */
/* Set modes and Enable floating point coprocessor */
(
void
)
init_per_cpu
(
cpunum
);
init_per_cpu
(
cpunum
);
disable_sr_hashing
();
...
...
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