1. 18 Jul, 2008 9 commits
    • Sam Ravnborg's avatar
      sparc: add -m64 when building vmlinux.lds · 9ae95bce
      Sam Ravnborg authored
      David Miller noticed that the build of vmlinux.lds
      failed to use the -m64 specifier.
      This caused the build to break with a bi-arch gcc with
      unified headers.
      
      Add the -m64 option to CPPFLAGS_vmlinux.lds so we
      have the correct defines available when building
      vmliux.lds.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      9ae95bce
    • David S. Miller's avatar
    • Sam Ravnborg's avatar
      3f261e82
    • Sam Ravnborg's avatar
      fc491d7d
    • Adrian Bunk's avatar
      sparc: remove PROM_AP1000 · d6eaadfb
      Adrian Bunk authored
      This seems to be left from the long gone AP1000 support.
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d6eaadfb
    • Adrian Bunk's avatar
      drivers/sbus/: cleanups · 96068145
      Adrian Bunk authored
      This patch contains the following cleanups:
      - make the following needlessly global code static:
        - char/uctrl.c: uctrl_get_event_status()
        - char/uctrl.c: uctrl_get_external_status()
        - char/vfc_dev.c: struct vfc_dev_lst
        - char/vfc_dev.c: vfc_lock_device()
        - char/vfc_dev.c: vfc_unlock_device()
        - char/vfc_dev.c: vfc_captstat_reset()
        - char/vfc_dev.c: vfc_memptr_reset()
        - char/vfc_dev.c: vfc_csr_init()
        - char/vfc_dev.c: vfc_saa9051_init()
        - char/vfc_dev.c: init_vfc_hw()
        - char/vfc_dev.c: init_vfc_devstruct()
        - char/vfc_dev.c: init_vfc_device()
        - char/vfc_dev.c: vfc_get_dev_ptr()
        - char/vfc_dev.c: vfc_capture_start()
        - char/vfc_dev.c: vfc_capture_poll()
        - char/vfc_dev.c: vfc_port_change_ioctl()
        - char/vfc_dev.c: vfc_set_video_ioctl()
        - char/vfc_dev.c: vfc_get_video_ioctl()
        - char/vfc_i2c.c: vfc_i2c_wait_for_bus()
        - char/vfc_i2c.c: vfc_i2c_wait_for_pin()
        - char/vfc_i2c.c: vfc_i2c_xmit_addr()
        - char/vfc_i2c.c: vfc_i2c_xmit_byte()
        - char/vfc_i2c.c: vfc_i2c_recv_byte()
        - dvma.c: init_one_dvma()
      - remove an unused variable from a function:
        - char/uctrl.c: ts102_uctrl_init()
      - remove the following unused and empty function:
        - char/uctrl.c: uctrl_set_video()
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      96068145
    • Adrian Bunk's avatar
      sparc64/kernel/: make code static · 908f5162
      Adrian Bunk authored
      This patch makes the following needlessly global code static:
      - central.c: struct central_bus
      - central.c: struct fhc_list
      - central.c: apply_fhc_ranges()
      - central.c: apply_central_ranges()
      - ds.c: struct ds_states_template[]
      - pci_msi.c: sparc64_setup_msi_irq()
      - pci_msi.c: sparc64_teardown_msi_irq()
      - pci_sun4v.c: struct sun4v_dma_ops
      - sys_sparc32.c: cp_compat_stat64()
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      908f5162
    • Adrian Bunk's avatar
      sparc/mm/: possible cleanups · 50215d65
      Adrian Bunk authored
      This patch contains the following possible cleanups:
      - make the following needlessly global code static:
        - fault.c: force_user_fault()
        - init.c: calc_max_low_pfn()
        - init.c: pgt_cache_water[]
        - init.c: map_high_region()
        - srmmu.c: hwbug_bitmask
        - srmmu.c: srmmu_swapper_pg_dir
        - srmmu.c: srmmu_context_table
        - srmmu.c: is_hypersparc
        - srmmu.c: srmmu_cache_pagetables
        - srmmu.c: srmmu_nocache_size
        - srmmu.c: srmmu_nocache_end
        - srmmu.c: srmmu_get_nocache()
        - srmmu.c: srmmu_free_nocache()
        - srmmu.c: srmmu_early_allocate_ptable_skeleton()
        - srmmu.c: srmmu_nocache_calcsize()
        - srmmu.c: srmmu_nocache_init()
        - srmmu.c: srmmu_alloc_thread_info()
        - srmmu.c: early_pgtable_allocfail()
        - srmmu.c: srmmu_early_allocate_ptable_skeleton()
        - srmmu.c: srmmu_allocate_ptable_skeleton()
        - srmmu.c: srmmu_inherit_prom_mappings()
        - sunami.S: tsunami_copy_1page
      - remove the following unused code:
        - init.c: struct sparc_aliases
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      50215d65
    • Adrian Bunk's avatar
      sparc/kernel/: possible cleanups · c61c65cd
      Adrian Bunk authored
      This patch contains the following possible cleanups:
      - make the following needlessly global code static:
        - apc.c: apc_swift_idle()
        - ebus.c: ebus_blacklist_irq()
        - ebus.c: fill_ebus_child()
        - ebus.c: fill_ebus_device()
        - entry.S: syscall_is_too_hard
        - etra: tsetup_sun4c_stackchk
        - head.S: cputyp
        - head.S: prom_vector_p
        - idprom.c: Sun_Machines[]
        - ioport.c: _sparc_find_resource()
        - ioport.c: create_proc_read_entry()
        - irq.c: struct sparc_irq[]
        - rtrap.S: sun4c_rett_stackchk
        - setup.c: prom_sync_me()
        - setup.c: boot_flags
        - sun4c_irq.c: sun4c_sbint_to_irq()
        - sun4d_irq.c: sbus_tid[]
        - sun4d_irq.c: struct sbus_actions
        - sun4d_irq.c: sun4d_sbint_to_irq()
        - sun4m_irq.c: sun4m_sbint_to_irq()
        - sun4m_irq.c: sun4m_get_irqmask()
        - sun4m_irq.c: sun4m_timers
        - sun4m_smp.c: smp4m_cross_call()
        - sun4m_smp.c: smp4m_blackbox_id()
        - sun4m_smp.c: smp4m_blackbox_current()
        - time.c: sp_clock_typ
        - time.c: sbus_time_init()
        - traps.c: instruction_dump()
        - wof.S: spwin_sun4c_stackchk
        - wuf.S: sun4c_fwin_stackchk
      - #if 0 the following unused code:
        - process.c: sparc_backtrace_lock
        - process.c: __show_backtrace()
        - process.c: show_backtrace()
        - process.c: smp_show_backtrace_all_cpus()
      - remove the following unused code:
        - entry.S: __handle_exception
        - smp.c: smp_num_cpus
        - smp.c: smp_activated
        - smp.c: __cpu_number_map[]
        - smp.c: __cpu_logical_map[]
        - smp.c: bitops_spinlock
        - traps.c: trap_curbuf
        - traps.c: trapbuf[]
        - traps.c: linux_smp_still_initting
        - traps.c: thiscpus_tbr
        - traps.c: thiscpus_mid
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c61c65cd
  2. 17 Jul, 2008 31 commits