diff options
| author | Matthew Wilcox <willy@debian.org> | 2003-04-26 07:16:42 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-26 07:16:42 -0700 |
| commit | 1c2b19ec1920b02b7d3dbd8221973b14399b46f9 (patch) | |
| tree | 54a344f308f991f3cb004f7ceb476986ae79e391 /kernel | |
| parent | c8196e3c12a8a86fd132b39812e0c779d6dac757 (diff) | |
[PATCH] fix iomem_resource
Every 64-bit architecture changes the end of iomem_resources. Some more
gracefully than others. This patch does away with all that by making
it end at ~0UL by default.
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/resource.c b/kernel/resource.c index ca82abf27fc9..c019f4a5003c 100644 --- a/kernel/resource.c +++ b/kernel/resource.c @@ -21,7 +21,7 @@ struct resource ioport_resource = { "PCI IO", 0x0000, IO_SPACE_LIMIT, IORESOURCE_IO }; -struct resource iomem_resource = { "PCI mem", 0x00000000, 0xffffffff, IORESOURCE_MEM }; +struct resource iomem_resource = { "PCI mem", 0UL, ~0UL, IORESOURCE_MEM }; static rwlock_t resource_lock = RW_LOCK_UNLOCKED; |
