Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80444
b: refs/heads/master
c: 4716e79
h: refs/heads/master
v: v3
  • Loading branch information
Huang, Ying authored and Ingo Molnar committed Jan 30, 2008
1 parent 8a12abb commit e03136d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 119 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: 0947b2f31ca1ea1211d3cde2dbd8fcec579ef395
refs/heads/master: 4716e79c9946044a53a65418cfba04836f6a5c36
6 changes: 0 additions & 6 deletions trunk/arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1009,12 +1009,6 @@ config IRQBALANCE
The default yes will allow the kernel to do irq load balancing.
Saying no will keep the kernel from doing irq load balancing.

# turning this on wastes a bunch of space.
# Summit needs it only when NUMA is on
config BOOT_IOREMAP
def_bool y
depends on X86_32 && (((X86_SUMMIT || X86_GENERICARCH) && NUMA) || (X86 && EFI))

config SECCOMP
def_bool y
prompt "Enable seccomp to safely compute untrusted bytecode"
Expand Down
8 changes: 3 additions & 5 deletions trunk/arch/x86/kernel/srat_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ static struct node_memory_chunk_s node_memory_chunk[MAXCHUNKS];
static int num_memory_chunks; /* total number of memory chunks */
static u8 __initdata apicid_to_pxm[MAX_APICID];

extern void * boot_ioremap(unsigned long, unsigned long);

/* Identify CPU proximity domains */
static void __init parse_cpu_affinity_structure(char *p)
{
Expand Down Expand Up @@ -299,7 +297,7 @@ int __init get_memcfg_from_srat(void)
}

rsdt = (struct acpi_table_rsdt *)
boot_ioremap(rsdp->rsdt_physical_address, sizeof(struct acpi_table_rsdt));
bt_ioremap(rsdp->rsdt_physical_address, sizeof(struct acpi_table_rsdt));

if (!rsdt) {
printk(KERN_WARNING
Expand Down Expand Up @@ -339,11 +337,11 @@ int __init get_memcfg_from_srat(void)
for (i = 0; i < tables; i++) {
/* Map in header, then map in full table length. */
header = (struct acpi_table_header *)
boot_ioremap(saved_rsdt.table.table_offset_entry[i], sizeof(struct acpi_table_header));
bt_ioremap(saved_rsdt.table.table_offset_entry[i], sizeof(struct acpi_table_header));
if (!header)
break;
header = (struct acpi_table_header *)
boot_ioremap(saved_rsdt.table.table_offset_entry[i], header->length);
bt_ioremap(saved_rsdt.table.table_offset_entry[i], header->length);
if (!header)
break;

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/x86/mm/Makefile_32
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ obj-$(CONFIG_CPA_DEBUG) += pageattr-test.o
obj-$(CONFIG_NUMA) += discontig_32.o
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
obj-$(CONFIG_HIGHMEM) += highmem_32.o
obj-$(CONFIG_BOOT_IOREMAP) += boot_ioremap_32.o
100 changes: 0 additions & 100 deletions trunk/arch/x86/mm/boot_ioremap_32.c

This file was deleted.

8 changes: 2 additions & 6 deletions trunk/include/asm-x86/efi.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,9 @@ extern unsigned long asmlinkage efi_call_phys(void *, ...);
efi_call_virt(f, a1, a2, a3, a4, a5)
#define efi_call_virt6(f, a1, a2, a3, a4, a5, a6) \
efi_call_virt(f, a1, a2, a3, a4, a5, a6)
/*
* We require an early boot_ioremap mapping mechanism initially
*/
extern void *boot_ioremap(unsigned long, unsigned long);

#define efi_early_ioremap(addr, size) boot_ioremap(addr, size)
#define efi_early_iounmap(vaddr, size)
#define efi_early_ioremap(addr, size) bt_ioremap(addr, size)
#define efi_early_iounmap(vaddr, size) bt_iounmap(vaddr, size)

#define efi_ioremap(addr, size) ioremap(addr, size)

Expand Down

0 comments on commit e03136d

Please sign in to comment.