lkml.org 
[lkml]   [2012]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject0xB16B00B5? Really? (was Re: Move hyperv out of the drivers/staging/ directory)
    Il 04/10/2011 21:34, Greg KH ha scritto:
    > diff --git a/drivers/staging/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
    > similarity index 99%
    > rename from drivers/staging/hv/hyperv_vmbus.h
    > rename to drivers/hv/hyperv_vmbus.h
    > index 3d2d836..8261cb6 100644
    > --- a/drivers/staging/hv/hyperv_vmbus.h
    > +++ b/drivers/hv/hyperv_vmbus.h
    > @@ -28,8 +28,7 @@
    > #include <linux/list.h>
    > #include <asm/sync_bitops.h>
    > #include <linux/atomic.h>
    > -
    > -#include "hyperv.h"
    > +#include <linux/hyperv.h>
    >
    > /*
    > * The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent

    git's rename detection snips away this gem:

    +#define HV_LINUX_GUEST_ID_LO 0x00000000
    +#define HV_LINUX_GUEST_ID_HI 0xB16B00B5
    +#define HV_LINUX_GUEST_ID (((u64)HV_LINUX_GUEST_ID_HI << 32) | \
    + HV_LINUX_GUEST_ID_LO)

    Somone was trying to be funny, I guess.

    KY, I suppose you have access to Hyper-V code or can ask someone who does.
    Is this signature actually used in the Hyper-V host code?

    Paolo


    \
     
     \ /
      Last update: 2012-07-13 13:21    [W:0.023 / U:31.616 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site