summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)AuthorFilesLines
2007-08-01[MIPS] Yosemite: Don't declare titan_mailbox_irq() as asmlinkage.Ralf Baechle1-1/+1
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Yosemite: Fix warnings in i2c-yoesmite by deleting the unused code.Ralf Baechle2-189/+3
arch/mips/pmc-sierra/yosemite/i2c-yosemite.c: In function 'titan_i2c_xfer': arch/mips/pmc-sierra/yosemite/i2c-yosemite.c:98: warning: 'data' may be used uninitialized in this function Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Delete unused arch/mips/gt64120/common/Ralf Baechle2-106/+0
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Fix build warning in unaligned load/store emulator.Ralf Baechle1-31/+20
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] IP32: Don't ignore request_irq's return value.Ralf Baechle1-1/+2
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] IP27: Fix warning.Ralf Baechle1-7/+9
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] BCM1480: Include <linux/module.h>.Ralf Baechle1-0/+1
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Remove Momentum Ocelot support.Ralf Baechle56-1993/+0
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Fix archhelp.Ralf Baechle2-4/+8
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Cleanup default bootfile format rule mess.Ralf Baechle1-27/+8
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Replace use of stext with _stext.Ralf Baechle2-3/+2
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Fix build breakage due to duplicate cpu_clock definitionRalf Baechle5-11/+11
commit e436d80085133858bf2613a630365e8a0459fd58 Author: Ingo Molnar <mingo@elte.hu> Date: Thu Jul 19 21:28:35 2007 +0200 [PATCH] sched: implement cpu_clock(cpu) high-speed time source broke the build of several MIPS platforms which were already using the symbol cpu_clock for the own purposes. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] ARC: Fix modpost warnings.Ralf Baechle1-11/+11
WARNING: vmlinux.o(.text+0x1608): Section mismatch: reference to .init.text:ArcRead (between 'indy_8254timer_irq' and 'indy_rtc_set_time') WARNING: vmlinux.o(.text+0x1157ac): Section mismatch: reference to .init.text:ArcRead (between 'prom_getchar' and 'prom_putchar') WARNING: vmlinux.o(.text+0x115808): Section mismatch: reference to .init.text:ArcWrite (between 'prom_putchar' and 'csum_partial') Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] SMTC: Fix modpost warning.Ralf Baechle1-1/+1
WARNING: vmlinux.o(.text+0xcf54): Section mismatch: reference to .init.text:smp_bootstrap (between 'smtc_boot_secondary' and 'ipi_interrupt') Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Fix modpost warning.Ralf Baechle1-1/+1
WARNING: vmlinux.o(.text+0x1718): Section mismatch: reference to .init.text:mipsmt_build_cpu_map (between 'plat_smp_setup' and 'prom_init_secondary') Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] rtlx: Fix modpost warningRalf Baechle1-1/+1
WARNING: vmlinux.o(.text+0x11504): Section mismatch: reference to .init.data:register_chrdev_failed (between 'rtlx_module_init' and 'rtlx_dispatch') Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] MTI: Add CoreFPGA4 ID.Chris Dearman2-0/+2
Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] RP: Sysfs interface for stopping RP programRalf Baechle1-0/+18
The old method of attempting to load a invalid program was just too icky. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] RP: Pass number of TCs available to RP program in $2.Ralf Baechle1-9/+73
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] MT: Enable coexistence of AP/SP with VSMP and SMTC.Ralf Baechle6-169/+197
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] SMTC: Safety net for i8259A interrupts.Kevin D. Kissell1-0/+12
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] SMTC: smtc_timer_broadcast ignores its arguments, make it void.Ralf Baechle2-3/+3
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] SMTC: Declare static what should be static.Ralf Baechle1-2/+2
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] SMTC: Statically initialize irq_ipi[].Ralf Baechle1-6/+6
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] rbtx4938: Fix warningsAtsushi Nemoto1-1/+1
linux/arch/mips/pci/fixup-tx4938.c:21:5: warning: symbol 'pci_get_irq' was not declared. Should it be static? linux/arch/mips/pci/fixup-tx4938.c:76: warning: passing argument 1 of 'pci_get_irq' discards qualifiers from pointer target type Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Sort system types alphabeticallyYoichi Yuasa1-100/+100
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Fix RBTX49x7 board nameYoichi Yuasa1-1/+1
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] 0 -> NULLYoann Padioleau2-7/+7
When comparing a pointer, it's clearer to compare it to NULL than to 0. Here is an excerpt of the semantic patch: @@ expression *E; @@ E == - 0 + NULL @@ expression *E; @@ E != - 0 + NULL Signed-off-by: Yoann Padioleau <padator@wanadoo.fr> Cc: ralf@linux-mips.org Cc: linux-mips@linux-mips.org Cc: akpm@linux-foundation.org Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] IP27: Fix modpost warning.Ralf Baechle1-1/+1
MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x3180): Section mismatch: reference to .init.text:per_cpu_init (between 'prom_init_secondary' and 'alloc_cpupda') Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Wire up the fallocate syscall.Ralf Baechle5-0/+11
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] Fixup secure computing stuff.Ralf Baechle8-18/+32
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] rbtx4927: Fix some gcc warnings and a section mismatch.Atsushi Nemoto3-57/+7
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[MIPS] rbtx4927: Fix -Werror-implicit-function-declaration build error.Atsushi Nemoto1-0/+3
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-08-01[x86 setup] EDD: Fix the computation of the MBR sector bufferH. Peter Anvin1-2/+3
Some BIOSes require that sector buffers not cross 64K boundaries. As a result, we compute a dynamic address on the setup heap. Unfortunately, this address computation was just totally wrong. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2007-08-01[x86 setup] Newline after setup signature failure messageH. Peter Anvin1-1/+1
End the "No setup signature found..." with a newline (the puts routine will automatically add a carriage return.) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2007-08-01x86 boot code comments typosRandy Dunlap4-4/+4
Fix comments typos in new x86 boot code. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2007-07-31[SPARC]: Fix exec failures on sun4c.Mark Fortescue1-0/+3
This deals with a sun4c issue caused by commit b6a2fea39318e43fee84fa7b0b90d68bed92d2ba: mm: variable length argument support. The new way the code works means that sun4c_update_mmu_cache gets called before a context has been selected, which results in invalid operation of the underling mm code. Simply ignoring update requests when there is no valid context solves the problem. Signed-off-by Mark Fortescue <mark@mtfhpc.demon.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
2007-07-31Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.23Linus Torvalds36-2743/+97
* master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.23: sh: Fix fs.h removal from mm.h regressions. sh: fix get_wchan() for SH kernels without framepointers sh: arch/sh/boot - fix shell usage rtc: rtc-sh: Correct sh_rtc_set_time() for some SH-3 parts. sh: remove support for sh7300 and solution engine 7300 sh: Add sh to the CC_OPTIMIZE_FOR_SIZE dependencies. sh: Kill off virt_to_bus()/bus_to_virt(). sh: sh-sci - fix SH7708 support sh: Restrict DSP support to specific CPUs. sh: Silence sq compile warning on sh4 nommu. sh: Kill the rest of the SE73180 cruft. sh: remove support for sh73180 and solution engine 73180 sh: remove old broken pint code sh: Reclaim beginning of P3 space for vmalloc area. sh: Fix Dreamcast DMA issues. sh: Add kmap_coherent()/kunmap_coherent() interface for SH-4.
2007-07-31sh64: Kill off virt_to_bus()/bus_to_virt().Paul Mundt2-2/+5
Follows the SH change. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-07-31sh64: Fix irq_intc build failure.Paul Mundt1-0/+1
Needs interrupt.h: CC arch/sh64/kernel/irq_intc.o arch/sh64/kernel/irq_intc.c: In function 'make_intc_irq': arch/sh64/kernel/irq_intc.c:179: error: implicit declaration of function 'disable_irq_nosync' make[1]: *** [arch/sh64/kernel/irq_intc.o] Error 1 Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-07-31sh64: Fix fs.h removal from mm.h regressions.Paul Mundt4-1/+4
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-07-31sh: Fix fs.h removal from mm.h regressions.Paul Mundt5-1/+5
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-07-31[IA64] Fix possible race in destroy_and_reserve_irq()Kenji Kaneshige1-11/+6
Currently, destroy_and_reserve_irq() sets irq_status[irq] UNUSED using clear_irq_vector() and sets irq_status[irq] RSVD using reserve_irq(). But there is a race window because vector_lock is once released between them. This patch fixes this race window. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
2007-07-31[IA64] Fix registered interrupt checkKenji Kaneshige1-6/+6
Fix the problem that interrupts are not initialized correctly at PCI hotplug or driver reloading time. By vector domain change, the iosapic_rte_info structure was changed to be on the iosapic_intr_info[irq].rtes list even after the interrupts are unregistered. So iosapic_intr_info[irq].rtes list must not be checked to see if there are registered interrupts (RTEs) on the irq. We must check iosapic_intr_info[irq].count counter instead. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
2007-07-31[IA64] Remove a few duplicate includesJesper Juhl3-3/+0
This patch removes a few duplicate includes from arch/ia64/ Acked-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
2007-07-31[IA64] Allow smp_call_function_single() to current cpuAvi Kivity1-3/+5
This removes the requirement for callers to get_cpu() to check in simple cases. i386 and x86_64 already received a similar treatment. Signed-off-by: Avi Kivity <avi@qumranet.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
2007-07-31[IA64] fix a few section mismatch warningsSam Ravnborg3-8/+13
Fix the following section mismatch warnings: WARNING: vmlinux.o(.text+0x41902): Section mismatch: reference to .init.text:__alloc_bootmem (between 'ia64_mca_cpu_init' and 'ia64_do_tlb_purge') WARNING: vmlinux.o(.text+0x49222): Section mismatch: reference to .init.text:__alloc_bootmem (between 'register_intr' and 'iosapic_register_intr') WARNING: vmlinux.o(.text+0x62beb2): Section mismatch: reference to .init.text:__alloc_bootmem_node (between 'hubdev_init_node' and 'cnodeid_get_geoid') Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
2007-07-30Merge branch 'master' of ↵Linus Torvalds17-1010/+660
master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC64]: Fix show_stack() when stack argument is NULL. [SPARC]: Fix serial console node string creation. [SPARC]: Mark SBUS framebuffer ioctls as IGNORE in compat_ioctl.c [SPARC64]: asm-sparc64/floppy.h needs linux/pci.h [SPARC64]: Fix conflicts in SBUS/PCI/EBUS/ISA DMA handling. [VIDEO]: Fix OOPS in all SBUS framebuffer drivers. [SPARC64]: Handle mostek clock type in mini_rtc driver. [PARTITION]: Sun/Solaris VTOC table corrections [SPARC]: Fix floppy on some sun4c systems. [SPARC64]: Fix sun4u PCI config space accesses on sun4u. [PARTITION] MSDOS: Fix Sun num_partitions handling. [SPARC]: Update defconfig.
2007-07-30APM support depends on CONFIG_PM_SLEEPStephen Rothwell1-1/+1
Commit 296699de6bdc717189a331ab6bbe90e05c94db06 broke building APM support if CONFIG_PM_SLEEP is not set. Reported by Toralf Förster <toralf.foerster@gmx.de> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> [ Simplified a bit as suggested by Rafael. -Linus ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-30m32r: build fix for removing fs.h from mm.hHirokazu Takata3-0/+3
This patch fixes the m32r build after the commit "Remove fs.h from mm.h" was merged (commit 4e950f6f0189f65f8bf069cf2272649ef418f5e4). Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>