[lkml]   [2004]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] reserve 64bit resources on x86_64


The hack from the i386 kernel to not reserve 64bit resource regions
appears to have made it into x86_64. Since struct resource is 64bit
on 64bit architectures this is completely unnecessary, and dangerous
if the kernel ever assigns a 64bit BAR.


diff -uNr linux- linux-
--- linux- Wed Aug 18 14:54:30 2004
+++ linux- Wed Aug 18 14:59:34 2004
@@ -185,8 +185,6 @@
int i;
for (i = 0; i < e820.nr_map; i++) {
struct resource *res;
- if ([i].addr +[i].size > 0x100000000ULL)
- continue;
res = alloc_bootmem_low(sizeof(struct resource));
switch ([i].type) {
case E820_RAM: res->name = "System RAM"; break;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 14:05    [W:0.039 / U:2.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site