Skip to content

Commit

Permalink
UAPI: Put a comment into uapi/asm-generic/kvm_para.h and use it from …
Browse files Browse the repository at this point in the history
…arches

Make uapi/asm-generic/kvm_para.h non-empty by addition of a comment to stop
the patch program from deleting it when it creates it.

Then delete empty arch-specific uapi/asm/kvm_para.h files and tell the Kbuild
files to use the generic instead.

Should this perhaps instead be a #warning or #error that the facility is
unsupported on this arch?

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Arnd Bergmann <arnd@arndb.de>
cc: Avi Kivity <avi@redhat.com>
cc: Marcelo Tosatti <mtosatti@redhat.com>
cc: kvm@vger.kernel.org
  • Loading branch information
David Howells committed Oct 17, 2012
1 parent e4522fc commit 0420c87
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/ia64/include/uapi/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# UAPI Header export list
include include/uapi/asm-generic/Kbuild.asm

generic-y += kvm_para.h

header-y += auxvec.h
header-y += bitsperlong.h
header-y += break.h
Expand Down
Empty file.
2 changes: 2 additions & 0 deletions arch/s390/include/uapi/asm/Kbuild
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# UAPI Header export list
include include/uapi/asm-generic/Kbuild.asm

generic-y += kvm_para.h

header-y += auxvec.h
header-y += bitsperlong.h
header-y += byteorder.h
Expand Down
Empty file.
4 changes: 4 additions & 0 deletions include/uapi/asm-generic/kvm_para.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/*
* There isn't anything here, but the file must not be empty or patch
* will delete it.
*/

0 comments on commit 0420c87

Please sign in to comment.