Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31101
b: refs/heads/master
c: 6550e07
h: refs/heads/master
i:
  31099: 6d21f14
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jun 27, 2006
1 parent ed2c429 commit d9d6470
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2427ddd8fae2febe3f5ac1ba76b092541304d9f0
refs/heads/master: 6550e07f41ce8473ed684dac54fbfbd42183ffda
1 change: 1 addition & 0 deletions trunk/arch/i386/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ config X86_PAE
bool
depends on HIGHMEM64G
default y
select RESOURCES_64BIT

# Common NUMA Features
config NUMA
Expand Down
7 changes: 6 additions & 1 deletion trunk/include/linux/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,14 @@ typedef __u64 __bitwise __be64;
#ifdef __KERNEL__
typedef unsigned __bitwise__ gfp_t;

typedef unsigned long resource_size_t;
#ifdef CONFIG_RESOURCES_64BIT
typedef u64 resource_size_t;
#else
typedef u32 resource_size_t;
#endif

#endif /* __KERNEL__ */

struct ustat {
__kernel_daddr_t f_tfree;
__kernel_ino_t f_tinode;
Expand Down
8 changes: 3 additions & 5 deletions trunk/kernel/resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,18 @@

struct resource ioport_resource = {
.name = "PCI IO",
.start = 0x0000,
.start = 0,
.end = IO_SPACE_LIMIT,
.flags = IORESOURCE_IO,
};

EXPORT_SYMBOL(ioport_resource);

struct resource iomem_resource = {
.name = "PCI mem",
.start = 0UL,
.end = ~0UL,
.start = 0,
.end = -1,
.flags = IORESOURCE_MEM,
};

EXPORT_SYMBOL(iomem_resource);

static DEFINE_RWLOCK(resource_lock);
Expand Down
6 changes: 6 additions & 0 deletions trunk/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,9 @@ config MIGRATION
while the virtual addresses are not changed. This is useful for
example on NUMA systems to put pages nearer to the processors accessing
the page.

config RESOURCES_64BIT
bool "64 bit Memory and IO resources (EXPERIMENTAL)" if (!64BIT && EXPERIMENTAL)
default 64BIT
help
This option allows memory and IO resources to be 64 bit.

0 comments on commit d9d6470

Please sign in to comment.