mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-13 06:23:45 -04:00
14 lines
494 B
C
14 lines
494 B
C
$NetBSD: patch-xen_common_page__alloc.c,v 1.1 2015/09/14 13:36:29 joerg Exp $
|
|
|
|
--- xen/common/page_alloc.c.orig 2015-09-13 17:37:09.000000000 +0000
|
|
+++ xen/common/page_alloc.c
|
|
@@ -1561,7 +1561,7 @@ void *alloc_xenheap_pages(unsigned int o
|
|
ASSERT(!in_irq());
|
|
|
|
if ( xenheap_bits && (memflags >> _MEMF_bits) > xenheap_bits )
|
|
- memflags &= ~MEMF_bits(~0);
|
|
+ memflags &= ~MEMF_bits(~0U);
|
|
if ( !(memflags >> _MEMF_bits) )
|
|
memflags |= MEMF_bits(xenheap_bits);
|
|
|