vmbus_drv.c (8e8c668927b029f6ccc350eb1aa936864cc4eb6f) vmbus_drv.c (4b44f2d18a330565227a7348844493c59366171e)
1/*
2 * Copyright (c) 2009, Microsoft Corporation.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT

--- 28 unchanged lines hidden (view full) ---

37#include <asm/hyperv.h>
38#include <asm/hypervisor.h>
39#include <asm/mshyperv.h>
40#include <linux/notifier.h>
41#include <linux/ptrace.h>
42#include <linux/screen_info.h>
43#include <linux/kdebug.h>
44#include <linux/efi.h>
1/*
2 * Copyright (c) 2009, Microsoft Corporation.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT

--- 28 unchanged lines hidden (view full) ---

37#include <asm/hyperv.h>
38#include <asm/hypervisor.h>
39#include <asm/mshyperv.h>
40#include <linux/notifier.h>
41#include <linux/ptrace.h>
42#include <linux/screen_info.h>
43#include <linux/kdebug.h>
44#include <linux/efi.h>
45#include <linux/random.h>
45#include "hyperv_vmbus.h"
46
47static struct acpi_device *hv_acpi_dev;
48
49static struct completion probe_event;
50
51
52static void hyperv_report_panic(struct pt_regs *regs)

--- 748 unchanged lines hidden (view full) ---

801
802 /* Check if there are actual msgs to be processed */
803 if (msg->header.message_type != HVMSG_NONE) {
804 if (msg->header.message_type == HVMSG_TIMER_EXPIRED)
805 hv_process_timer_expiration(msg, cpu);
806 else
807 tasklet_schedule(hv_context.msg_dpc[cpu]);
808 }
46#include "hyperv_vmbus.h"
47
48static struct acpi_device *hv_acpi_dev;
49
50static struct completion probe_event;
51
52
53static void hyperv_report_panic(struct pt_regs *regs)

--- 748 unchanged lines hidden (view full) ---

802
803 /* Check if there are actual msgs to be processed */
804 if (msg->header.message_type != HVMSG_NONE) {
805 if (msg->header.message_type == HVMSG_TIMER_EXPIRED)
806 hv_process_timer_expiration(msg, cpu);
807 else
808 tasklet_schedule(hv_context.msg_dpc[cpu]);
809 }
810
811 add_interrupt_randomness(HYPERVISOR_CALLBACK_VECTOR, 0);
809}
810
811
812/*
813 * vmbus_bus_init -Main vmbus driver initialization routine.
814 *
815 * Here, we
816 * - initialize the vmbus driver context

--- 597 unchanged lines hidden ---
812}
813
814
815/*
816 * vmbus_bus_init -Main vmbus driver initialization routine.
817 *
818 * Here, we
819 * - initialize the vmbus driver context

--- 597 unchanged lines hidden ---