[lkml]   [2001]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Anybody got 2.4.0 running on a 386 ?
** Reply to message from Robert Kaiser <> on Tue, 9 Jan 2001
23:17:11 +0100

> temp = mk_pte_phys(__pa(vaddr), PAGE_KERNEL);
> *pte = temp;
> where temp is declared "volatile pte_t". I inserted test-prints between the
> above two lines. Accoding to that, the _first_ line , i.e. the evaluation of the
> mk_pte_phys() macro is causing the crash!

In that case, it's either a compiler bug or a race condition.

Compiling this source file with the -S option will generate an assembly output.
The output should be the same regardless of whether you use the temp variable or
not. That will answer the question as to what the cause is. If you're lucky,
it's a compiler bug, because they're easier to fix.

Timur Tabi -
Interactive Silicon -

When replying to a mailing-list message, please direct the reply to the mailing list only. Don't send another copy to me.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.102 / U:0.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site