~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise-proposed

« back to all changes in this revision

Viewing changes to drivers/hv/hv.c

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich, Luke Yelavich, Upstream Kernel Changes
  • Date: 2012-04-04 18:49:36 UTC
  • Revision ID: package-import@ubuntu.com-20120404184936-tqu735914muv4wpg
Tags: 3.2.0-22.30
[ Luke Yelavich ]

* [Config] Update configs after rebase against Ubuntu-3.2.0-22.35

[ Upstream Kernel Changes ]

* Low-latency: Rebase against Ubuntu-3.2.0-22.35

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
        union hv_x64_msr_hypercall_contents hypercall_msr;
156
156
        void *virtaddr = NULL;
157
157
 
158
 
        memset(hv_context.synic_event_page, 0, sizeof(void *) * MAX_NUM_CPUS);
 
158
        memset(hv_context.synic_event_page, 0, sizeof(void *) * NR_CPUS);
159
159
        memset(hv_context.synic_message_page, 0,
160
 
               sizeof(void *) * MAX_NUM_CPUS);
 
160
               sizeof(void *) * NR_CPUS);
161
161
 
162
162
        if (!query_hypervisor_presence())
163
163
                goto cleanup;