Fixed a comment as pointed out by Jerome.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9843 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-11-08 10:17:41 +00:00
parent 9ef9c745d2
commit 3f97e14d42
@@ -1,5 +1,5 @@
/*
** Copyright 2002-2004, The Haiku Team. All rights reserved.
** Copyright 2002-2004, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the Haiku License.
**
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
@@ -240,8 +240,9 @@ put_pgtable_in_pgdir(pdentry *e, addr_t pgtable_phys, uint32 attributes)
init_pdentry(e);
e->addr = ADDR_SHIFT(pgtable_phys);
// if the region is user accessible, it's automatically read/write
// accessible in kernel space
// if the region is user accessible, it's automatically
// accessible in kernel space, too (but with the same
// protection)
e->user = (attributes & B_USER_PROTECTION) != 0;
if (e->user)
e->rw = (attributes & B_WRITE_AREA) != 0;