From 2a9ff8dc8d9c433fc5c37c3f29d89853e1ed744d Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Tue, 9 Aug 2011 18:33:27 +0000 Subject: HVM-585 Make sure copyright notices are up to date on all files in kvm repo --- kvm_msidef.h | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'kvm_msidef.h') diff --git a/kvm_msidef.h b/kvm_msidef.h index a7dbdc6..c3a545c 100644 --- a/kvm_msidef.h +++ b/kvm_msidef.h @@ -1,3 +1,27 @@ +/* + * GPL HEADER START + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * GPL HEADER END + * + * Derived from ./arch/x86/include/asm/msidef.h + * + * Copyright 2011 various Linux Kernel contributors. + * Copyright 2011 Joyent, Inc. All Rights Reserved. + */ + #ifndef __KVM_MDIDEF_H #define __KVM_MSIDEF_H @@ -11,7 +35,7 @@ #define MSI_DATA_VECTOR_SHIFT 0 #define MSI_DATA_VECTOR_MASK 0x000000ff -#define MSI_DATA_VECTOR(v) (((v) << MSI_DATA_VECTOR_SHIFT) & \ +#define MSI_DATA_VECTOR(v) (((v) << MSI_DATA_VECTOR_SHIFT) & \ MSI_DATA_VECTOR_MASK) #define MSI_DATA_DELIVERY_MODE_SHIFT 8 -- cgit v1.2.3