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
19d1408d
Commit
19d1408d
authored
Feb 19, 2007
by
Avi Kivity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM: More 0 -> NULL conversions
Signed-off-by:
Avi Kivity
<
avi@qumranet.com
>
parent
0152527b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/kvm/kvm_main.c
drivers/kvm/kvm_main.c
+2
-2
No files found.
drivers/kvm/kvm_main.c
View file @
19d1408d
...
...
@@ -2229,13 +2229,13 @@ static void kvm_exit_debug(void)
static
int
kvm_suspend
(
struct
sys_device
*
dev
,
pm_message_t
state
)
{
decache_vcpus_on_cpu
(
raw_smp_processor_id
());
on_each_cpu
(
kvm_arch_ops
->
hardware_disable
,
0
,
0
,
1
);
on_each_cpu
(
kvm_arch_ops
->
hardware_disable
,
NULL
,
0
,
1
);
return
0
;
}
static
int
kvm_resume
(
struct
sys_device
*
dev
)
{
on_each_cpu
(
kvm_arch_ops
->
hardware_enable
,
0
,
0
,
1
);
on_each_cpu
(
kvm_arch_ops
->
hardware_enable
,
NULL
,
0
,
1
);
return
0
;
}
...
...
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