--- Gnu-Mach/linux/dev/kernel/resource.c 2020/09/02 04:41:39 1.1.1.1 +++ Gnu-Mach/linux/dev/kernel/resource.c 2020/09/02 04:45:58 1.1.1.2 @@ -131,7 +131,7 @@ release_region (unsigned int from, unsig int check_region (unsigned int from, unsigned int num) { - return (find_gap (&iolist, from, num) == NULL) ? -LINUX_EBUSY : 0; + return (find_gap (&iolist, from, num) == NULL) ? -EBUSY : 0; } /* Called from init/main.c to reserve IO ports. */