VirtualBox

Changeset 40950 in vbox


Ignore:
Timestamp:
Apr 16, 2012 7:24:29 PM (12 years ago)
Author:
vboxsync
Message:

sup.h: Fix aCPUs alignment on SPARC (the storage library includes that header)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/sup.h

    r40820 r40950  
    226226} SUPGLOBALINFOPAGE;
    227227AssertCompileMemberAlignment(SUPGLOBALINFOPAGE, u64NanoTSLastUpdateHz, 8);
     228#if defined(RT_ARCH_SPARC) || defined(RT_ARCH_SPARC64)
     229AssertCompileMemberAlignment(SUPGLOBALINFOPAGE, aCPUs, 32);
     230#else
    228231AssertCompileMemberAlignment(SUPGLOBALINFOPAGE, aCPUs, 256);
     232#endif
    229233
    230234/** Pointer to the global info page.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette