Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
d0d23b54
Commit
d0d23b54
authored
Jan 25, 2008
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cpu-hotplug: fix build on !CONFIG_SMP
fix build on !CONFIG_SMP. Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
95402b38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
include/linux/cpu.h
include/linux/cpu.h
+7
-1
No files found.
include/linux/cpu.h
View file @
d0d23b54
...
@@ -71,19 +71,25 @@ static inline void unregister_cpu_notifier(struct notifier_block *nb)
...
@@ -71,19 +71,25 @@ static inline void unregister_cpu_notifier(struct notifier_block *nb)
int
cpu_up
(
unsigned
int
cpu
);
int
cpu_up
(
unsigned
int
cpu
);
extern
void
cpu_hotplug_init
(
void
);
#else
#else
static
inline
int
register_cpu_notifier
(
struct
notifier_block
*
nb
)
static
inline
int
register_cpu_notifier
(
struct
notifier_block
*
nb
)
{
{
return
0
;
return
0
;
}
}
static
inline
void
unregister_cpu_notifier
(
struct
notifier_block
*
nb
)
static
inline
void
unregister_cpu_notifier
(
struct
notifier_block
*
nb
)
{
{
}
}
static
inline
void
cpu_hotplug_init
(
void
)
{
}
#endif
/* CONFIG_SMP */
#endif
/* CONFIG_SMP */
extern
struct
sysdev_class
cpu_sysdev_class
;
extern
struct
sysdev_class
cpu_sysdev_class
;
extern
void
cpu_hotplug_init
(
void
);
extern
void
cpu_maps_update_begin
(
void
);
extern
void
cpu_maps_update_begin
(
void
);
extern
void
cpu_maps_update_done
(
void
);
extern
void
cpu_maps_update_done
(
void
);
...
...
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