Merge branch 'physalloc3-fix' into 'master'

Add missing match item for `PartialAllocStrategy::Greedy`.

See merge request redox-os/syscall!48
This commit is contained in:
Jeremy Soller
2020-06-16 20:37:57 +00:00

View File

@@ -174,6 +174,7 @@ impl PartialAllocStrategy {
match raw {
0x0001_0000 => Some(Self::Optimal),
0x0002_0000 => Some(Self::GreatestRange),
0x0003_0000 => Some(Self::Greedy),
_ => None,
}
}