diff options
| author | Michael Kelley <[email protected]> | 2021-03-02 21:38:14 +0000 |
|---|---|---|
| committer | Wei Liu <[email protected]> | 2021-03-08 17:32:59 +0000 |
| commit | 5e4e6ddf8d74068fd6bb7922dabcfa2c0f506c39 (patch) | |
| tree | fb95729b2ed48143414b0465ea75c7eb20f36c7b /drivers/clocksource/hyperv_timer.c | |
| parent | Drivers: hv: vmbus: Move Hyper-V page allocator to arch neutral code (diff) | |
| download | kernel-5e4e6ddf8d74068fd6bb7922dabcfa2c0f506c39.tar.gz kernel-5e4e6ddf8d74068fd6bb7922dabcfa2c0f506c39.zip | |
x86/hyper-v: Move hv_message_type to architecture neutral module
The definition of enum hv_message_type includes arch neutral and
x86/x64-specific values. Ideally there would be a way to put the
arch neutral values in an arch neutral module, and the arch
specific values in an arch specific module. But C doesn't provide
a way to extend enum types. As a compromise, move the entire
definition into an arch neutral module, to avoid duplicating the
arch neutral values for x86/x64 and for ARM64.
No functional change.
Signed-off-by: Michael Kelley <[email protected]>
Reviewed-by: Boqun Feng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'drivers/clocksource/hyperv_timer.c')
0 files changed, 0 insertions, 0 deletions
