Update to manual pages.

Introduced an ENOMAP error code for l4_unmap.
This commit is contained in:
Bahadir Balban
2009-12-04 00:30:25 +02:00
parent 5eb134e258
commit 5b783f4e2e
15 changed files with 96 additions and 52 deletions

View File

@@ -443,7 +443,7 @@ int remove_mapping_pgd(unsigned long vaddr, pgd_table_t *pgd)
break;
case PGD_TYPE_FAULT:
ret = -1;
ret = -ENOMAP;
break;
case PGD_TYPE_SECTION:

View File

@@ -68,10 +68,11 @@ void update_system_time(void)
int sys_time(struct timeval *tv, int set)
{
int retries = 20;
int err;
if (check_access((unsigned long)tv, sizeof(*tv),
MAP_USR_RW_FLAGS, 1) < 0)
return -EINVAL;
if ((err = check_access((unsigned long)tv, sizeof(*tv),
MAP_USR_RW_FLAGS, 1)) < 0)
return err;
/* Get time */
if (!set) {