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
95370b40
Commit
95370b40
authored
Mar 25, 2022
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: Move store_cpu_topology() into text section
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
62773112
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
arch/parisc/kernel/topology.c
arch/parisc/kernel/topology.c
+3
-2
No files found.
arch/parisc/kernel/topology.c
View file @
95370b40
...
...
@@ -16,17 +16,18 @@
#include <linux/cpu.h>
#include <asm/topology.h>
#include <asm/sections.h>
static
DEFINE_PER_CPU
(
struct
cpu
,
cpu_devices
);
static
int
dualcores_found
__initdata
;
static
int
dualcores_found
;
/*
* store_cpu_topology is called at boot when only one cpu is running
* and with the mutex cpu_hotplug.lock locked, when several cpus have booted,
* which prevents simultaneous write access to cpu_topology array
*/
void
__init
store_cpu_topology
(
unsigned
int
cpuid
)
void
store_cpu_topology
(
unsigned
int
cpuid
)
{
struct
cpu_topology
*
cpuid_topo
=
&
cpu_topology
[
cpuid
];
struct
cpuinfo_parisc
*
p
;
...
...
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