1. 18 7月, 2008 10 次提交
    • R
      sparc64: Config category "Processor type and features" absent · 932d0613
      Randy Dunlap 提交于
      kernel bugzilla #11059:
      
      sparc64 config menu is missing "Processor type and features",
      so add that and move General Setup before Processor menu.
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      932d0613
    • S
      sparc: arch/sparc/kernel/apc.c to unlocked_ioctl · ab772027
      Stoyan Gaydarov 提交于
      This changes arch/sparc/kernel/apc.c to use unlocked_ioctl
      Signed-off-by: NStoyan Gaydarov <stoyboyker@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ab772027
    • S
      sparc: export openprom.h to userspace · b1a8bf92
      Sam Ravnborg 提交于
      sparc64 exports openprom.h to userspace so let sparc follow
      the example.
      As openprom.h pulled in another not-for-export vaddrs.h header
      file it required a few changes to fix the build.
      
      The definition af VMALLOC_* were moved to pgtable as this is
      where sparc64 has them.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      b1a8bf92
    • S
      sparc: Merge asm-sparc{,64}/mman.h · f92ffa12
      Sam Ravnborg 提交于
      Renaming the function sparc64_mmap_check() to
      sparc_mmap_check() was enough to make the two
      header files identical.
      
      :$ diff -u include/asm-sparc/mman.h include/asm-sparc64/mman.h
      :-- include/asm-sparc/mman.h	2008-06-13 06:46:39.000000000 +0200
      :++ include/asm-sparc64/mman.h	2008-06-13 06:46:39.000000000 +0200
      :@@ -1,5 +1,5 @@
      :-#ifndef __SPARC_MMAN_H__
      :-#define __SPARC_MMAN_H__
      :+#ifndef __SPARC64_MMAN_H__
      :+#define __SPARC64_MMAN_H__
      :
      : #include <asm-generic/mman.h>
      :
      :@@ -23,9 +23,9 @@
      :
      : #ifdef __KERNEL__
      : #ifndef __ASSEMBLY__
      :-#define arch_mmap_check(addr,len,flags)	sparc_mmap_check(addr,len)
      :-int sparc_mmap_check(unsigned long addr, unsigned long len);
      :+#define arch_mmap_check(addr,len,flags)	sparc64_mmap_check(addr,len)
      :+int sparc64_mmap_check(unsigned long addr, unsigned long len);
      : #endif
      : #endif
      :
      :-#endif /* __SPARC_MMAN_H__ */
      :+#endif /* __SPARC64_MMAN_H__ */
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      f92ffa12
    • S
      sparc: add -m64 when building vmlinux.lds · 9ae95bce
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      9ae95bce
    • A
      sparc64/kernel/: make code static · 908f5162
      Adrian Bunk 提交于
      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: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      908f5162
    • A
      sparc/mm/: possible cleanups · 50215d65
      Adrian Bunk 提交于
      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: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      50215d65
    • A
      sparc/kernel/: possible cleanups · c61c65cd
      Adrian Bunk 提交于
      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: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c61c65cd
    • Y
      x86: fix numaq_tsc_disable · 9354094a
      Yinghai Lu 提交于
      fix:
      
       arch/x86/kernel/numaq_32.c: In function ‘numaq_tsc_disable’:
       arch/x86/kernel/numaq_32.c:99: warning: ‘return’ with a value, in function returning void
      Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      9354094a
    • T
      fix build error of arch/ia64/kvm/* · 2f73ccab
      Takashi Iwai 提交于
      Fix calls of smp_call_function*() in arch/ia64/kvm for recent API
      changes.
      
          CC [M]  arch/ia64/kvm/kvm-ia64.o
        arch/ia64/kvm/kvm-ia64.c: In function 'handle_global_purge':
        arch/ia64/kvm/kvm-ia64.c:398: error: too many arguments to function 'smp_call_function_single'
        arch/ia64/kvm/kvm-ia64.c: In function 'kvm_vcpu_kick':
        arch/ia64/kvm/kvm-ia64.c:1696: error: too many arguments to function 'smp_call_function_single'
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Acked-by Xiantao Zhang <xiantao.zhang@intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2f73ccab
  2. 17 7月, 2008 10 次提交
  3. 16 7月, 2008 20 次提交