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
27c23810
Commit
27c23810
authored
Aug 16, 2009
by
Avi Kivity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM: Add __KERNEL__ guards to exported headers
Signed-off-by:
Avi Kivity
<
avi@redhat.com
>
parent
da18acff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
arch/ia64/include/asm/kvm_para.h
arch/ia64/include/asm/kvm_para.h
+4
-0
arch/s390/include/asm/kvm_para.h
arch/s390/include/asm/kvm_para.h
+4
-0
No files found.
arch/ia64/include/asm/kvm_para.h
View file @
27c23810
...
@@ -19,9 +19,13 @@
...
@@ -19,9 +19,13 @@
*
*
*/
*/
#ifdef __KERNEL__
static
inline
unsigned
int
kvm_arch_para_features
(
void
)
static
inline
unsigned
int
kvm_arch_para_features
(
void
)
{
{
return
0
;
return
0
;
}
}
#endif
#endif
#endif
arch/s390/include/asm/kvm_para.h
View file @
27c23810
...
@@ -13,6 +13,8 @@
...
@@ -13,6 +13,8 @@
#ifndef __S390_KVM_PARA_H
#ifndef __S390_KVM_PARA_H
#define __S390_KVM_PARA_H
#define __S390_KVM_PARA_H
#ifdef __KERNEL__
/*
/*
* Hypercalls for KVM on s390. The calling convention is similar to the
* Hypercalls for KVM on s390. The calling convention is similar to the
* s390 ABI, so we use R2-R6 for parameters 1-5. In addition we use R1
* s390 ABI, so we use R2-R6 for parameters 1-5. In addition we use R1
...
@@ -147,4 +149,6 @@ static inline unsigned int kvm_arch_para_features(void)
...
@@ -147,4 +149,6 @@ static inline unsigned int kvm_arch_para_features(void)
return
0
;
return
0
;
}
}
#endif
#endif
/* __S390_KVM_PARA_H */
#endif
/* __S390_KVM_PARA_H */
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