hyperv_vmbus.h (74be62c7cefbf320e0605f3da6639ef80448ff00) | hyperv_vmbus.h (7415aea6072bab15969b6c3c5b2a193d88095326) |
---|---|
1/* 2 * 3 * Copyright (c) 2011, Microsoft Corporation. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms and conditions of the GNU General Public License, 7 * version 2, as published by the Free Software Foundation. 8 * --- 215 unchanged lines hidden (view full) --- 224 225 void *tsc_page; 226 227 bool synic_initialized; 228 229 struct hv_per_cpu_context __percpu *cpu_context; 230 231 /* | 1/* 2 * 3 * Copyright (c) 2011, Microsoft Corporation. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms and conditions of the GNU General Public License, 7 * version 2, as published by the Free Software Foundation. 8 * --- 215 unchanged lines hidden (view full) --- 224 225 void *tsc_page; 226 227 bool synic_initialized; 228 229 struct hv_per_cpu_context __percpu *cpu_context; 230 231 /* |
232 * Hypervisor's notion of virtual processor ID is different from 233 * Linux' notion of CPU ID. This information can only be retrieved 234 * in the context of the calling CPU. Setup a map for easy access 235 * to this information: 236 * 237 * vp_index[a] is the Hyper-V's processor ID corresponding to 238 * Linux cpuid 'a'. 239 */ 240 u32 vp_index[NR_CPUS]; 241 242 /* | |
243 * To manage allocations in a NUMA node. 244 * Array indexed by numa node ID. 245 */ 246 struct cpumask *hv_numa_map; 247}; 248 249extern struct hv_context hv_context; 250 --- 187 unchanged lines hidden --- | 232 * To manage allocations in a NUMA node. 233 * Array indexed by numa node ID. 234 */ 235 struct cpumask *hv_numa_map; 236}; 237 238extern struct hv_context hv_context; 239 --- 187 unchanged lines hidden --- |