Skip to content
  • Jan Beulich's avatar
    x86/HPET: fix initialization order · 8444d910
    Jan Beulich authored
    
    
    At least the legacy path can enter its interrupt handler callout while
    initialization is still in progress - that handler checks whether
    ->event_handler is non-NULL, and hence all other initialization must
    happen before setting this field.
    
    Do the same to the MSI initialization just in case (and to keep the
    code in sync).
    
    Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
    8444d910