diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 19:50:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 19:50:49 -0400 |
commit | 33ae0cdd3eaba219e7c2f0647b6db4be540e2130 (patch) | |
tree | 1d0cb11644b40b500ad98e7af3bcac78012dec59 /include | |
parent | f5ba0cf3cb145f9a8cc125fb0cc013c5656d6259 (diff) | |
parent | fe086a7bea7ab714930bd48addba961ceeef7634 (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] Provide ACPI fixup for /proc/cpuinfo/physical_id
[IA64] Remove printk noise on unimplemented SAL_PHYSICAL_ID_INFO
[IA64] allocate multiple contiguous pages via uncached allocator
[IA64] bugfix: nptcg breaks cpu-hotadd
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ia64/topology.h | 2 | ||||
-rw-r--r-- | include/asm-ia64/uncached.h | 6 | ||||
-rw-r--r-- | include/asm-x86/topology.h | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/include/asm-ia64/topology.h b/include/asm-ia64/topology.h index f2f72ef2a897..32863b3bb1d3 100644 --- a/include/asm-ia64/topology.h +++ b/include/asm-ia64/topology.h | |||
@@ -116,6 +116,8 @@ void build_cpu_to_node_map(void); | |||
116 | #define smt_capable() (smp_num_siblings > 1) | 116 | #define smt_capable() (smp_num_siblings > 1) |
117 | #endif | 117 | #endif |
118 | 118 | ||
119 | extern void arch_fix_phys_package_id(int num, u32 slot); | ||
120 | |||
119 | #define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ? \ | 121 | #define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ? \ |
120 | CPU_MASK_ALL : \ | 122 | CPU_MASK_ALL : \ |
121 | node_to_cpumask(pcibus_to_node(bus)) \ | 123 | node_to_cpumask(pcibus_to_node(bus)) \ |
diff --git a/include/asm-ia64/uncached.h b/include/asm-ia64/uncached.h index b82d923b73c1..13d7e65ca3cc 100644 --- a/include/asm-ia64/uncached.h +++ b/include/asm-ia64/uncached.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2001-2005 Silicon Graphics, Inc. All rights reserved. | 2 | * Copyright (C) 2001-2008 Silicon Graphics, Inc. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms of version 2 of the GNU General Public License | 5 | * under the terms of version 2 of the GNU General Public License |
@@ -8,5 +8,5 @@ | |||
8 | * Prototypes for the uncached page allocator | 8 | * Prototypes for the uncached page allocator |
9 | */ | 9 | */ |
10 | 10 | ||
11 | extern unsigned long uncached_alloc_page(int nid); | 11 | extern unsigned long uncached_alloc_page(int starting_nid, int n_pages); |
12 | extern void uncached_free_page(unsigned long); | 12 | extern void uncached_free_page(unsigned long uc_addr, int n_pages); |
diff --git a/include/asm-x86/topology.h b/include/asm-x86/topology.h index 0e6d6b03affe..4f35a0fb4f22 100644 --- a/include/asm-x86/topology.h +++ b/include/asm-x86/topology.h | |||
@@ -193,6 +193,10 @@ extern cpumask_t cpu_coregroup_map(int cpu); | |||
193 | #define topology_thread_siblings(cpu) (per_cpu(cpu_sibling_map, cpu)) | 193 | #define topology_thread_siblings(cpu) (per_cpu(cpu_sibling_map, cpu)) |
194 | #endif | 194 | #endif |
195 | 195 | ||
196 | static inline void arch_fix_phys_package_id(int num, u32 slot) | ||
197 | { | ||
198 | } | ||
199 | |||
196 | struct pci_bus; | 200 | struct pci_bus; |
197 | void set_pci_bus_resources_arch_default(struct pci_bus *b); | 201 | void set_pci_bus_resources_arch_default(struct pci_bus *b); |
198 | 202 | ||