VirtualBox

Ignore:
Timestamp:
Nov 3, 2008 4:55:07 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38739
Message:

EXPORT_SYMBOL must be placed after the function/variable was implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c

    r11521 r13764  
    4343
    4444#include <linux/spinlock.h> /** @todo why is this here and not in the-linux-kernel.h? */
    45 
    46 #if defined(IN_GUEST_R0) && defined(IN_MODULE)
    47 EXPORT_SYMBOL(RTSpinlockCreate);
    48 EXPORT_SYMBOL(RTSpinlockDestroy);
    49 EXPORT_SYMBOL(RTSpinlockAcquireNoInts);
    50 EXPORT_SYMBOL(RTSpinlockReleaseNoInts);
    51 #endif
    5245
    5346/*******************************************************************************
     
    155148}
    156149
     150#if defined(IN_GUEST_R0) && defined(IN_MODULE)
     151EXPORT_SYMBOL(RTSpinlockCreate);
     152EXPORT_SYMBOL(RTSpinlockDestroy);
     153EXPORT_SYMBOL(RTSpinlockAcquireNoInts);
     154EXPORT_SYMBOL(RTSpinlockReleaseNoInts);
     155#endif
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