diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/kernel/head.S | 1 | ||||
-rw-r--r-- | arch/alpha/kernel/pci.c | 10 | ||||
-rw-r--r-- | arch/alpha/kernel/pci_iommu.c | 4 | ||||
-rw-r--r-- | arch/alpha/kernel/smp.c | 6 | ||||
-rw-r--r-- | arch/alpha/kernel/vmlinux.lds.S | 1 |
5 files changed, 12 insertions, 10 deletions
diff --git a/arch/alpha/kernel/head.S b/arch/alpha/kernel/head.S index e27d23c74ba8..7ac1f1372c36 100644 --- a/arch/alpha/kernel/head.S +++ b/arch/alpha/kernel/head.S | |||
@@ -10,6 +10,7 @@ | |||
10 | #include <asm/system.h> | 10 | #include <asm/system.h> |
11 | #include <asm/asm-offsets.h> | 11 | #include <asm/asm-offsets.h> |
12 | 12 | ||
13 | .section .text.head, "ax" | ||
13 | .globl swapper_pg_dir | 14 | .globl swapper_pg_dir |
14 | .globl _stext | 15 | .globl _stext |
15 | swapper_pg_dir=SWAPPER_PGD | 16 | swapper_pg_dir=SWAPPER_PGD |
diff --git a/arch/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c index ab642a4f08de..9dc1cee43265 100644 --- a/arch/alpha/kernel/pci.c +++ b/arch/alpha/kernel/pci.c | |||
@@ -195,7 +195,7 @@ pcibios_init(void) | |||
195 | 195 | ||
196 | subsys_initcall(pcibios_init); | 196 | subsys_initcall(pcibios_init); |
197 | 197 | ||
198 | char * __init | 198 | char * __devinit |
199 | pcibios_setup(char *str) | 199 | pcibios_setup(char *str) |
200 | { | 200 | { |
201 | return str; | 201 | return str; |
@@ -204,7 +204,7 @@ pcibios_setup(char *str) | |||
204 | #ifdef ALPHA_RESTORE_SRM_SETUP | 204 | #ifdef ALPHA_RESTORE_SRM_SETUP |
205 | static struct pdev_srm_saved_conf *srm_saved_configs; | 205 | static struct pdev_srm_saved_conf *srm_saved_configs; |
206 | 206 | ||
207 | void __init | 207 | void __devinit |
208 | pdev_save_srm_config(struct pci_dev *dev) | 208 | pdev_save_srm_config(struct pci_dev *dev) |
209 | { | 209 | { |
210 | struct pdev_srm_saved_conf *tmp; | 210 | struct pdev_srm_saved_conf *tmp; |
@@ -247,14 +247,14 @@ pci_restore_srm_config(void) | |||
247 | } | 247 | } |
248 | #endif | 248 | #endif |
249 | 249 | ||
250 | void __init | 250 | void __devinit |
251 | pcibios_fixup_resource(struct resource *res, struct resource *root) | 251 | pcibios_fixup_resource(struct resource *res, struct resource *root) |
252 | { | 252 | { |
253 | res->start += root->start; | 253 | res->start += root->start; |
254 | res->end += root->start; | 254 | res->end += root->start; |
255 | } | 255 | } |
256 | 256 | ||
257 | void __init | 257 | void __devinit |
258 | pcibios_fixup_device_resources(struct pci_dev *dev, struct pci_bus *bus) | 258 | pcibios_fixup_device_resources(struct pci_dev *dev, struct pci_bus *bus) |
259 | { | 259 | { |
260 | /* Update device resources. */ | 260 | /* Update device resources. */ |
@@ -273,7 +273,7 @@ pcibios_fixup_device_resources(struct pci_dev *dev, struct pci_bus *bus) | |||
273 | } | 273 | } |
274 | } | 274 | } |
275 | 275 | ||
276 | void __init | 276 | void __devinit |
277 | pcibios_fixup_bus(struct pci_bus *bus) | 277 | pcibios_fixup_bus(struct pci_bus *bus) |
278 | { | 278 | { |
279 | /* Propagate hose info into the subordinate devices. */ | 279 | /* Propagate hose info into the subordinate devices. */ |
diff --git a/arch/alpha/kernel/pci_iommu.c b/arch/alpha/kernel/pci_iommu.c index 6b07f89a72c7..e1c470752ebc 100644 --- a/arch/alpha/kernel/pci_iommu.c +++ b/arch/alpha/kernel/pci_iommu.c | |||
@@ -58,7 +58,7 @@ size_for_memory(unsigned long max) | |||
58 | return max; | 58 | return max; |
59 | } | 59 | } |
60 | 60 | ||
61 | struct pci_iommu_arena * | 61 | struct pci_iommu_arena * __init |
62 | iommu_arena_new_node(int nid, struct pci_controller *hose, dma_addr_t base, | 62 | iommu_arena_new_node(int nid, struct pci_controller *hose, dma_addr_t base, |
63 | unsigned long window_size, unsigned long align) | 63 | unsigned long window_size, unsigned long align) |
64 | { | 64 | { |
@@ -117,7 +117,7 @@ iommu_arena_new_node(int nid, struct pci_controller *hose, dma_addr_t base, | |||
117 | return arena; | 117 | return arena; |
118 | } | 118 | } |
119 | 119 | ||
120 | struct pci_iommu_arena * | 120 | struct pci_iommu_arena * __init |
121 | iommu_arena_new(struct pci_controller *hose, dma_addr_t base, | 121 | iommu_arena_new(struct pci_controller *hose, dma_addr_t base, |
122 | unsigned long window_size, unsigned long align) | 122 | unsigned long window_size, unsigned long align) |
123 | { | 123 | { |
diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c index b28731437c31..0804b6abe203 100644 --- a/arch/alpha/kernel/smp.c +++ b/arch/alpha/kernel/smp.c | |||
@@ -358,7 +358,7 @@ secondary_cpu_start(int cpuid, struct task_struct *idle) | |||
358 | /* | 358 | /* |
359 | * Bring one cpu online. | 359 | * Bring one cpu online. |
360 | */ | 360 | */ |
361 | static int __devinit | 361 | static int __cpuinit |
362 | smp_boot_one_cpu(int cpuid) | 362 | smp_boot_one_cpu(int cpuid) |
363 | { | 363 | { |
364 | struct task_struct *idle; | 364 | struct task_struct *idle; |
@@ -487,7 +487,7 @@ smp_prepare_boot_cpu(void) | |||
487 | { | 487 | { |
488 | } | 488 | } |
489 | 489 | ||
490 | int __devinit | 490 | int __cpuinit |
491 | __cpu_up(unsigned int cpu) | 491 | __cpu_up(unsigned int cpu) |
492 | { | 492 | { |
493 | smp_boot_one_cpu(cpu); | 493 | smp_boot_one_cpu(cpu); |
@@ -541,7 +541,7 @@ smp_percpu_timer_interrupt(struct pt_regs *regs) | |||
541 | set_irq_regs(old_regs); | 541 | set_irq_regs(old_regs); |
542 | } | 542 | } |
543 | 543 | ||
544 | int __init | 544 | int |
545 | setup_profiling_timer(unsigned int multiplier) | 545 | setup_profiling_timer(unsigned int multiplier) |
546 | { | 546 | { |
547 | return -EINVAL; | 547 | return -EINVAL; |
diff --git a/arch/alpha/kernel/vmlinux.lds.S b/arch/alpha/kernel/vmlinux.lds.S index fe13daa5cb2c..7af07d3ad5f0 100644 --- a/arch/alpha/kernel/vmlinux.lds.S +++ b/arch/alpha/kernel/vmlinux.lds.S | |||
@@ -15,6 +15,7 @@ SECTIONS | |||
15 | 15 | ||
16 | _text = .; /* Text and read-only data */ | 16 | _text = .; /* Text and read-only data */ |
17 | .text : { | 17 | .text : { |
18 | *(.text.head) | ||
18 | TEXT_TEXT | 19 | TEXT_TEXT |
19 | SCHED_TEXT | 20 | SCHED_TEXT |
20 | LOCK_TEXT | 21 | LOCK_TEXT |