aboutsummaryrefslogtreecommitdiff
path: root/arch/mips
AgeCommit message (Collapse)AuthorFilesLines
2006-02-07[MIPS] Sparse: Fix some compiler/sparse warnings in ptrace32.cAtsushi Nemoto1-7/+15
Signed-off-by: Atsushi Nemoto <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] Reformat to 80 columns.Ralf Baechle1-8/+19
Patch courtesy of Emily Postnews ;-) Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] Sibyte: Make all setup functions __init.Ralf Baechle1-4/+5
Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] Get rid of CONFIG_SB1_PASS_1_WORKAROUNDS #ifdef crapola.Ralf Baechle1-4/+3
Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] Au1xx0: really set KSEG0 to uncached on rebootSergei Shtylylov1-1/+1
Fix a really old buglet in AMD Au1xx0 restart code: instead of modifying the whole CP0 Config.K0 field to 010b (meaning KSEG0 uncached) before flushing the caches and resetting a board, it only sets bit 1 of that reg. which is effectively a NOP since Config.K0 == 011b as the kernel sets it up (which is also its default value for Au1xx0). Signed-off-by: Sergei Shtylyov <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] SB1: Add oprofile support.Mark Mason3-0/+8
Signed-off-by: Mark Mason <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] BCM1480: Cleanup debug code left behind in the PCI driver.Mark Mason1-2/+0
Signed-off-by: Mark Mason <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] BCM1125 PCI fixesMark Mason1-0/+1
Make BCM1125 targets to link again. Signed-off-by: Mark Mason <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] Nevada support for SGI O2.Ralf Baechle2-0/+2
Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] Rename include/asm-mips/cobalt to include/asm-mips/mach-cobalt.Ralf Baechle7-7/+7
Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] Rename _machine_power_off to pm_power_off so the kernel builds again.Ralf Baechle29-38/+78
Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] Check function pointers are non-zero before calling.Ralf Baechle1-4/+6
Several boards don't initialize the pointers, so let's play safe. Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] Revert "mips: add pm_power_off"Ralf Baechle1-6/+0
pm_power_off duplicates the functionality of _machine_restart. This reverts b142159fa5ffbad73b6927fafa5440148030f3f1 commit.
2006-02-07[MIPS] RTLX compile fixes.Ralf Baechle1-0/+4
Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] Get rid of unnecessary prototypes. Fixes and optimizations for HZ > 100.Ralf Baechle1-27/+25
Signed-off-by: Ralf Baechle <[email protected]>
2006-02-07[MIPS] Remove stray .set mips3 resulting in 64-bit instruction in 32-bit ↵Ralf Baechle1-1/+1
kernels. Only the NMI handler was affected so this is a low impact bug. Signed-off-by: Ralf Baechle <[email protected]>
2006-02-05[SERIAL] uart_port flags member should use UPF_*Russell King9-18/+13
Convert usage of ASYNC_* to UPF_*. Signed-off-by: Russell King <[email protected]>
2006-02-05[SERIAL] uart_port iotype member should use UPIO_*Russell King5-6/+6
Convert usage of SERIAL_IO_* to UPIO_*. Signed-off-by: Russell King <[email protected]>
2006-02-01[PATCH] mips: gdb-stub.c: fix parse error before ; tokenAlexey Dobriyan1-1/+1
Signed-off-by: Alexey Dobriyan <[email protected]> Cc: Ralf Baechle <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-16[PATCH] mips: add pm_power_offYoichi Yuasa1-0/+6
Adds pm_power_off() to MIPS. Signed-off-by: Yoichi Yuasa <[email protected]> Cc: Ralf Baechle <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-12[PATCH] mips: task_stack_page()Al Viro1-3/+3
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-12[PATCH] mips: task_thread_info()Al Viro8-14/+13
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-12[PATCH] mips: task_pt_regs()Al Viro3-15/+7
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-11[PATCH] capable/capability.h (arch/)Randy Dunlap2-0/+2
arch: Use <linux/capability.h> where capable() is used. Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-10Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linusLinus Torvalds62-120/+145
2006-01-10[PATCH] sanitize building of fs/compat_ioctl.cChristoph Hellwig2-52/+1
Now that all these entries in the arch ioctl32.c files are gone [1], we can build fs/compat_ioctl.c as a normal object and kill tons of cruft. We need a special do_ioctl32_pointer handler for s390 so the compat_ptr call is done. This is not needed but harmless on all other architectures. Also remove some superflous includes in fs/compat_ioctl.c Tested on ppc64. [1] parisc still had it's PPP handler left, which is not fully correct for ppp and besides that ppp uses the generic SIOCPRIV ioctl so it'd kick in for all netdevice users. We can introduce a proper handler in one of the next patch series by adding a compat_ioctl method to struct net_device but for now let's just kill it - parisc doesn't compile in mainline anyway and I don't want this to block this patchset. Signed-off-by: Christoph Hellwig <[email protected]> Cc: Matthew Wilcox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-10MIPS: Malta: Change CPU default to R2.Ralf Baechle1-5/+5
... giving those with with R1 or older CPU cards more rope to missconfigure their kernels. But MIPS is only selling R2 CPUs since two or three years already. Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: R2: Set 64BIT_PHYS_ADDR for R2 processor also.Ralf Baechle1-1/+1
Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: Don't pass -finline-limit=100000.Ralf Baechle1-1/+0
This was a stop gap meassure for gcc 3.3 and newer sometimes not inlining inline functions in the 2.4 days. Starting we pass the always_inline attribute, so -finline-limit is no longer necessary and it's been shown to problematic on Sparc. Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: Namespace pollution: dump_regs() -> elf_dump_regs()Al Viro1-2/+2
dump_regs() is used by a bunch of drivers for their internal stuff; renamed mips instance (one that is seen in system-wide headers) to elf_dump_regs() Signed-off-by: Al Viro <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: Remove unused CONFIG_CPU_HAS_LLDSCD.Ralf Baechle24-31/+0
Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10Update Yoichi Yuasa's email address.Ralf Baechle20-23/+23
Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: Oprofile: Add 5K, 20K and 25K support.Ralf Baechle2-0/+15
Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: Oprofile: Print error message if the CPU happen to have no counters.Ralf Baechle1-1/+3
Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: Oprofile: Fixup the loose ends in the plumbing.Ralf Baechle4-7/+49
Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: MIPS boards: Get rid of useless SMP/non-SMP casing.Ralf Baechle1-13/+2
Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: Introduce machinery for testing for MIPSxxR1/2.Ralf Baechle2-8/+33
Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: Rename MIPS_CPU_ISA_M{32,64} -> MIPS_CPU_ISA_M{32,64}R1.Ralf Baechle3-9/+9
Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: MT: Fix 32-bit dependencies.Ralf Baechle1-4/+4
Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: FP: Remove silly trick to avoid warning.Ralf Baechle4-8/+0
Just doesn't fool a modern compiler anymore. Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: DSP: Put DSPcontrol register into the right place in the signal frame.Ralf Baechle1-1/+1
Signed-off-by: Ralf Baechle <[email protected]>
2006-01-10MIPS: DSP: eleminate used_dsp.Ralf Baechle2-12/+4
used_dsp was meant to be used like used_math - but since the FPU context is small and lazy context switching is a stupid idea on multiprocessors this idea only got halfway implemented and those bits are were now breaking ptrace. Signed-off-by: Ralf Baechle <[email protected]>
2006-01-09Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6Linus Torvalds1-1/+1
2006-01-09[PATCH] Fix more "if ((err = foo() < 0))" typosAlexey Dobriyan1-1/+2
Another reason to use: ret = foo(); if (ret < 0) goto out; Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-09[PATCH] arch: Replace pci_module_init() with pci_register_driver()Richard Knutsson1-1/+1
Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Richard Knutsson <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-01-08[PATCH] use ptrace_get_task_struct in various placesChristoph Hellwig1-20/+6
The ptrace_get_task_struct() helper that I added as part of the ptrace consolidation is useful in variety of places that currently opencode it. Switch them to the common helpers. Add a ptrace_traceme() helper that needs to be explicitly called, and simplify the ptrace_get_task_struct() interface. We don't need the request argument now, and we return the task_struct directly, using ERR_PTR() for error returns. It's a bit more code in the callers, but we have two sane routines that do one thing well now. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-08[PATCH] fix more missing includesTim Schmielau1-0/+1
Include fixes for 2.6.14-git11. Should allow to remove sched.h from module.h on i386, x86_64, arm, ia64, ppc, ppc64, and s390. Probably more to come since I haven't yet checked the other archs. Signed-off-by: Tim Schmielau <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-04Relax the rw_verify_area() error checking.Linus Torvalds1-2/+2
In particular, allow over-large read- or write-requests to be downgraded to a more reasonable range, rather than considering them outright errors. We want to protect lower layers from (the sadly all too common) overflow conditions, but prefer to do so by chopping the requests up, rather than just refusing them outright. Cc: Peter Anvin <[email protected]> Cc: Ulrich Drepper <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-12-12[PATCH] mips: setup_zero_pages count 1Hugh Dickins1-2/+2
Page count should be initialized to 1 on each of the MIPS empty zero pages, to avoid a bad_page warning whenever one of them is freed from all mappings. Signed-off-by: Hugh Dickins <[email protected]> Cc: Ralf Baechle <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-12-01[MIPS] Update defconfigs to reflect Kconfig changes.Ralf Baechle45-3184/+3160
Signed-off-by: Ralf Baechle <[email protected]>