summaryrefslogtreecommitdiffstats
path: root/include/asm-mips
Commit message (Collapse)AuthorAgeFilesLines
* [MIPS] SEAD: More build fixes.Ralf Baechle2005-11-171-2/+9
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] SEAD: Delete seadint_init() prototype.Ralf Baechle2005-11-171-2/+0
| | | | | | | There is no definition for seadint_init() and the unprotected prototype breaks compilation of assembler files. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] JMR3927: Fix include wrapper symbol.Ralf Baechle2005-11-171-3/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] Fix documentation typos.Arnaud Giersch2005-11-171-6/+8
| | | | | Signed-off-by: Arnaud Giersch <arnaud.giersch@free.fr> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] Add const qualifier to writes##bwlq.Arnaud Giersch2005-11-171-3/+3
| | | | | | | Add const qualifier to parameter addr of writes##bwlq. Signed-off-by: Arnaud Giersch <arnaud.giersch@free.fr> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] IP32: Fix sparse warnings.Arnaud Giersch2005-11-172-2/+2
| | | | | | | Add __iomem qualifier to crime and mace pointers. Signed-off-by: Arnaud Giersch <arnaud.giersch@free.fr> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] IP32 Fix and complete IP32 parport definitionsArnaud Giersch2005-11-171-16/+26
| | | | | | | | | Fix, complete, and indent IP32 parport definitions. Definition were wrong for CTXINUSE and DMACTIVE (1-bit shift). Add macros DATA_BOUND, DATALEN_SHIFT, and CTRSHIFT. Signed-off-by: Arnaud Giersch <arnaud.giersch@free.fr> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] JMR3927: Undo accidental rename.Ralf Baechle2005-11-171-0/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] IP32: No need to include <asm/io.h>.Ralf Baechle2005-11-171-3/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] Add missing arch defines for the Alchemy MTD driver.Ralf Baechle2005-11-174-0/+19
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] Delete duplicate definitions of break codes.Ralf Baechle2005-11-171-21/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [PATCH] atomic: inc_not_zeroNick Piggin2005-11-131-0/+19
| | | | | | | | | | | Introduce an atomic_inc_not_zero operation. Make this a special case of atomic_add_unless because lockless pagecache actually wants atomic_inc_not_negativeone due to its offset refcount. Signed-off-by: Nick Piggin <npiggin@suse.de> Cc: "Paul E. McKenney" <paulmck@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] atomic: cmpxchgNick Piggin2005-11-131-0/+2
| | | | | | | | | Introduce an atomic_cmpxchg operation. Signed-off-by: Nick Piggin <npiggin@suse.de> Cc: "Paul E. McKenney" <paulmck@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linusLinus Torvalds2005-11-0710-49/+95
|\
| * Redefine outs[wl] for ide_outs[wl].Atsushi Nemoto2005-11-071-0/+4
| | | | | | | | | | | | | | Add missing bits to fix D-cache aliasing problem in the PIO IDE driver. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Delete duplicate definitions.Ralf Baechle2005-11-071-4/+0
| | | | | | | | | | | | This reverts 8f91ed6c2fec8cb746e4dc86a79247162b4c5a7a. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Define MAX_UDELAY_MSAtsushi Nemoto2005-11-071-0/+9
| | | | | | | | | | | | | | | | If HZ was 1000, mdelay(2) cause overflow on multiplication in __udelay. We should define MAX_UDELAY_MS properly to prevent this. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Use rtc_lock to protect RTC operationsAtsushi Nemoto2005-11-072-2/+25
| | | | | | | | | | | | | | | | | | Many RTC routines were not protected against each other, so there are potential races, for example, ntp-update against /dev/rtc. This patch fixes them using rtc_lock. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Remove mips_rtc_lockAtsushi Nemoto2005-11-071-7/+0
| | | | | | | | | | | | | | | | | | | | | | The mips_rtc_lock is no longer needed because RTC operations should be protected already by other mechanism. (rtc_lock, local_irq_save, etc.) Also, locking whole rtc_get_time/rtc_set_time should be avoided while some RTC routines might take very long time (a few seconds). Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Add .gitignore files for MIPS.Ralf Baechle2005-11-071-0/+1
| |
| * O2 parport definitionsIlya A. Volynets-Evenbakh2005-11-071-1/+25
| | | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Add spaces to MODULE_PROC_FAMILY values.Ralf Baechle2005-11-071-19/+19
| | | | | | | | | | | | Only a cosmetic fix to make the output of modinfo look readable. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| * Turn rtlx upside down.Ralf Baechle2005-11-071-16/+12
| | | | | | | | | | | | | | | | | | o Coding style o Race condition on open o Switch to dynamic major o Header file cleanup Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | [PATCH] fix remaining missing includesTim Schmielau2005-11-072-0/+5
|/ | | | | | | | | | Fix more include file problems that surfaced since I submitted the previous fix-missing-includes.patch. This should now allow not to include sched.h from module.h, which is done by a followup patch. Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] semaphore: Remove __MUTEX_INITIALIZER()Arthur Othieno2005-10-301-3/+0
| | | | | | | | | __MUTEX_INITIALIZER() has no users, and equates to the more commonly used DECLARE_MUTEX(), thus making it pretty much redundant. Remove it for good. Signed-off-by: Arthur Othieno <a.othieno@bluewin.ch> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] vm: remove unused/broken page_pte[_prot] macrosTejun Heo2005-10-302-2/+0
| | | | | | | | | | | | | | | | | | | | | | | This patch removes page_pte_prot and page_pte macros from all architectures. Some architectures define both, some only page_pte (broken) and others none. These macros are not used anywhere. page_pte_prot(page, prot) is identical to mk_pte(page, prot) and page_pte(page) is identical to page_pte_prot(page, __pgprot(0)). * The following architectures define both page_pte_prot and page_pte arm, arm26, ia64, sh64, sparc, sparc64 * The following architectures define only page_pte (broken) frv, i386, m32r, mips, sh, x86-64 * All other architectures define neither Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] unify sys_ptrace prototypeChristoph Hellwig2005-10-301-1/+0
| | | | | | | | | | Make sure we always return, as all syscalls should. Also move the common prototype to <linux/syscalls.h> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* BCM1480 HT supportAndrew Isaacson2005-10-291-0/+5
| | | | | | | PCI support code for PLX 7250 PCI-X tunnel on BCM91480B BigSur board. Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Support for BigSur board.Andrew Isaacson2005-10-292-0/+53
| | | | | Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Add support for SB1A CPU.Andrew Isaacson2005-10-292-2/+4
| | | | | Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Sibyte header cleanupAndrew Isaacson2005-10-2914-30/+7
| | | | | | | | | Update sibyte headers to match Broadcom internal copies: - comment cleanup and updates - fix LittleSur part number to match the board silkscreen Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* BCM1480 headersAndrew Isaacson2005-10-2917-98/+3236
| | | | | | | | | | | Add header files for BCM1480/1280/1455/1255 family of chips, and update sb1250 headers which are shared by BCM1480 family. Signed-Off-By: Andy Isaacson <adi@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> diff --git a/include/asm-mips/sibyte/bcm1480_int.h b/include/asm-mips/sibyte/bcm1480_int.h new file mode 100644
* Make UL what should be UL.Ralf Baechle2005-10-292-9/+9
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Don't print file name and line in die and die_if_kernel.Ralf Baechle2005-10-291-9/+7
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Define EOWNERDEAD and ENOTRECOVERABLE.Ralf Baechle2005-10-291-0/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* More configcheck fixes.Ralf Baechle2005-10-293-3/+5
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* 2.6.14-rc1 updates for MIPS compat types.Ralf Baechle2005-10-291-6/+6
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Complete the fcntl.h cleanup.Ralf Baechle2005-10-291-10/+7
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Cleanup Sibyte Kconfig a bit further.Ralf Baechle2005-10-291-14/+0
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix weirdness in <asm/bug.h>Ralf Baechle2005-10-291-3/+2
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fixup a few lose ends in explicit support for MIPS R1/R2.Ralf Baechle2005-10-296-38/+37
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Provide 64-bit address space definitions for the Sibyte SB1 CPU core.Ralf Baechle2005-10-291-0/+10
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Cleanup the mess in cpu_cache_init.Ralf Baechle2005-10-296-27/+40
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Use R4000 TLB routines for SB1 also.Ralf Baechle2005-10-291-2/+4
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Fix ARCH_KMALLOC_MINALIGN values on MIPSRalf Baechle2005-10-294-2/+34
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Support for MIPSsim, the cycle accurate MIPS simulator.Ralf Baechle2005-10-293-0/+140
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Revise MIPS 64-bit ptrace interfaceDaniel Jacobowitz2005-10-291-4/+11
| | | | | | | | Change the N32 debugging ABI to something more sane, and add support for o32 and n32 debuggers to trace n64 programs. Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Glue again after removal of BUILD_BUG().Ralf Baechle2005-10-291-25/+32
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* SMP on Malta needs to define ARCH_HAS_IRQ_PER_CPU since 2.6.14-rc1.Ralf Baechle2005-10-291-0/+14
| | | | | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org> diff --git a/include/asm-mips/mach-mips/irq.h b/include/asm-mips/mach-mips/irq.h new file mode 100644
* Add SOCK_DCCP definition for MIPS also.Ralf Baechle2005-10-291-0/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>