summaryrefslogtreecommitdiff
path: root/libl4/l4
diff options
context:
space:
mode:
authormarcus <marcus>2005-01-21 21:12:36 +0000
committermarcus <marcus>2005-01-21 21:12:36 +0000
commit0e1db87e5731a65040db0976b68a6b8a657c114e (patch)
treec7fa17f03baeb80c55dfbccbfbe808f7e5435806 /libl4/l4
parent627d929f4e08e769a74809952ed0e485cad71362 (diff)
Small comment fix, pointed out by Neal.
Diffstat (limited to 'libl4/l4')
-rw-r--r--libl4/l4/gnu/space.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libl4/l4/gnu/space.h b/libl4/l4/gnu/space.h
index c943da2..e3f33a1 100644
--- a/libl4/l4/gnu/space.h
+++ b/libl4/l4/gnu/space.h
@@ -240,7 +240,7 @@ l4_space_control (l4_thread_id_t space, l4_word_t control,
while END must be the address of the last byte in the area. FPAGES
must be an array of at least
- L4_FPAGE_SPAN_MAX - (l4_min_page_size () - L4_MIN_PAGE_SIZE_LOG2)
+ L4_FPAGE_SPAN_MAX - 2 * (l4_min_page_size_log2 () - L4_MIN_PAGE_SIZE_LOG2)
fpages (you can just use L4_FPAGE_SPAN_MAX if you need a constant
expression). The function returns the number of fpages returned in