- Fix calculation of PCR pointer from PRCB pointer

svn path=/trunk/; revision=44424
This commit is contained in:
Timo Kreuzer 2009-12-05 21:33:31 +00:00
parent 7bc1b745e3
commit cef0db194e

View file

@ -1253,7 +1253,7 @@ QSI_DEF(SystemInterruptInformation)
for (i = 0; i < KeNumberProcessors; i++)
{
Prcb = KiProcessorBlock[i];
Pcr = CONTAINING_RECORD(Prcb, KPCR, Prcb);
Pcr = (PKPCR)CONTAINING_RECORD(Prcb, KIPCR, PrcbData);
#ifdef _M_ARM // This code should probably be done differently
sii->ContextSwitches = Pcr->ContextSwitches;
#else