lkml.org 
[lkml]   [2003]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: build problems on architectures where FIXADDR_* stuff is not constant
Hello!

On Tue, May 13, 2003 at 01:46:20PM -0700, Andrew Morton wrote:
> > Since there are architectures where FIXADDR_* stuff is not constant (e.g. UML),
> > ...
> > + fixmap_vma.vm_start = FIXADDR_START;
> > + fixmap_vma.vm_end = FIXADDR_TOP;
> > + fixmap_vma.vm_page_prot = PAGE_READONLY;
> > pgd = pgd_offset_k(pg);
> > if (!pgd)
> > return i ? : -EFAULT;
> That's modifying static storage which other, unrelated processes or CPUs
> may be playing with.

Ah, stupid me. Missed the "static" thing :(

Bye,
Oleg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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