deal with alpha section warnings
PATCH 1/1 deal with alpha section warnings
Signed-off-by Al Viro <[email protected]>
--- arch/alpha/kernel/head.S | 1 + arch/alpha/kernel/pci.c | 10 +++++----- arch/alpha/kernel/pci_iommu.c | 4 ++-- arch/alpha/kernel/smp.c | 6 +++--- arch/alpha/kernel/vmlinux.lds.S | 1 + 5 files changed, 12 insertions(+), 10 deletions(-)
arch/alpha/kernel/head.S +1 -0
@@ -10,6 +10,7 @@ #include <asm/system.h> #include <asm/asm-offsets.h> +.section .text.head, "ax" .globl swapper_pg_dir .globl _stext swapper_pg_dir=SWAPPER_PGD
arch/alpha/kernel/pci.c +5 -5
@@ -195,7 +195,7 @@ pcibios_init(void)subsys_initcall (pcibios_init); -char *__init +char *__devinit pcibios_setup (char *str) {return str;
@@ -204,7 +204,7 @@ pcibios_setup(char *str)#ifdef ALPHA_RESTORE_SRM_SETUP static struct pdev_srm_saved_conf *srm_saved_configs; -void __init +void __devinit pdev_save_srm_config (struct pci_dev *dev) {struct pdev_srm_saved_conf *tmp;
@@ -247,14 +247,14 @@ pci_restore_srm_config(void) }#endif -void __init +void __devinit pcibios_fixup_resource (struct resource *res,struct resource *root) { res->start += root->start; res->end += root->start; } -void __init +void __devinit pcibios_fixup_device_resources (struct pci_dev *dev,struct pci_bus *bus) {/* Update device resources. */
@@ -273,7 +273,7 @@ pcibios_fixup_device_resources(struct pci_dev *dev, struct pci_bus *bus) } } -void __init +void __devinit pcibios_fixup_bus (struct pci_bus *bus) {/* Propagate hose info into the subordinate devices. */
arch/alpha/kernel/pci_iommu.c +2 -2
@@ -58,7 +58,7 @@ size_for_memory(unsigned long max)return max; } -struct pci_iommu_arena * +struct pci_iommu_arena *__init iommu_arena_new_node (int nid,struct pci_controller *hose,dma_addr_t base,unsigned long window_size,unsigned long align) {
@@ -117,7 +117,7 @@ iommu_arena_new_node(int nid, struct pci_controller *hose, dma_addr_t base,return arena; } -struct pci_iommu_arena * +struct pci_iommu_arena *__init iommu_arena_new (struct pci_controller *hose,dma_addr_t base,unsigned long window_size,unsigned long align) {
arch/alpha/kernel/smp.c +3 -3
@@ -358,7 +358,7 @@ secondary_cpu_start(int cpuid, struct task_struct *idle)/* * Bring one cpu online. */ -static int __devinit +static int __cpuinit smp_boot_one_cpu (int cpuid) {struct task_struct *idle;
@@ -487,7 +487,7 @@ smp_prepare_boot_cpu(void) { } -int __devinit +int __cpuinit __cpu_up (unsigned int cpu) {smp_boot_one_cpu (cpu);
@@ -541,7 +541,7 @@ smp_percpu_timer_interrupt(struct pt_regs *regs)set_irq_regs (old_regs); } -int __init +int setup_profiling_timer (unsigned int multiplier) {return -EINVAL ;
arch/alpha/kernel/vmlinux.lds.S +1 -0
@@ -15,6 +15,7 @@ SECTIONS _text = .; /* Text and read-only data */ .text : { + *(.text.head) TEXT_TEXT SCHED_TEXT LOCK_TEXT
Signature · 1 line
1.5.3.GIT