[lkml]   [2012]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] Revert "KVM: Export asm-generic/kvm_para.h"
    This reverts commit 56457f38f212344fb38b250cfa7e7311c065022f.

    For architectures without asm/kvm_para.h, asm-generic/Kbuild
    unconditionally tries to export the non-existent header file, resulting
    in failure to build the user headers. Since the logic in
    asm-generic/Kbuild.asm will only export the file if it exists (which in
    turn causes linux/kvm_para.h to be exported), we can just remove the
    unconditional header export.

    Cc: Arnd Bergmann <>
    Cc: Avi Kivity <>
    Cc: Geert Uytterhoeven <>
    Signed-off-by: Will Deacon <>

    I'm not sure what specific problem the original commit was fixing, so we
    may need to solve this another way if there's something I've missed.

    include/asm-generic/Kbuild | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild
    index 2c85a0f..53f91b1 100644
    --- a/include/asm-generic/Kbuild
    +++ b/include/asm-generic/Kbuild
    @@ -8,7 +8,6 @@ header-y += int-ll64.h
    header-y += ioctl.h
    header-y += ioctls.h
    header-y += ipcbuf.h
    -header-y += kvm_para.h
    header-y += mman-common.h
    header-y += mman.h
    header-y += msgbuf.h

     \ /
      Last update: 2012-07-18 13:01    [W:0.028 / U:10.624 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site