Fix definition of KeInitializeSpinLock for x86 - it never inlined the operation....
authorStefan Ginsberg <stefanginsberg@gmail.com>
Thu, 16 Jul 2009 11:42:09 +0000 (11:42 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Thu, 16 Jul 2009 11:42:09 +0000 (11:42 +0000)
commit5e0347a52bdcdecf4bf33fff891dc20e3e435148
tree2f44512c89f1148f6340e5721d77ca512f678505
parentc825c5dc022e75ac0e2bb764992693c563787f9d
Fix definition of KeInitializeSpinLock for x86 - it never inlined the operation. It should check if WIN9X_COMPAT_SPINLOCK is defined and don't inline it if so. Also, don't define this flag when building ntoskrnl (MS DDK/WDK compilation fix) so we get the inline. Instead, make the implementation "internal" to fix compilation.

svn path=/trunk/; revision=41990
reactos/include/ddk/winddk.h
reactos/ntoskrnl/ke/spinlock.c
reactos/ntoskrnl/ntoskrnl-generic.rbuild
reactos/ntoskrnl/ntoskrnl.pspec