X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fresource.c;h=2eb553d9b517153d8d938b34d60718b948b6bac0;hb=d842de871c8c5e2110c7e4f3f29bbe7b1a519ab8;hp=a358142ff48f34ca2dd0653f8bb1fc7c6f2c3fe0;hpb=fb9fc395174138983a49f2da982ed14caabbe741;p=linux-2.6 diff --git a/kernel/resource.c b/kernel/resource.c index a358142ff4..2eb553d9b5 100644 --- a/kernel/resource.c +++ b/kernel/resource.c @@ -277,7 +277,7 @@ walk_memory_resource(unsigned long start_pfn, unsigned long nr_pages, void *arg, int ret = -1; res.start = (u64) start_pfn << PAGE_SHIFT; res.end = ((u64)(start_pfn + nr_pages) << PAGE_SHIFT) - 1; - res.flags = IORESOURCE_MEM; + res.flags = IORESOURCE_MEM | IORESOURCE_BUSY; orig_end = res.end; while ((res.start < res.end) && (find_next_system_ram(&res) >= 0)) { pfn = (unsigned long)(res.start >> PAGE_SHIFT);