summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [PARISC] Add new function to start local Interval Timer, start_cpu_itimer()Grant Grundler2006-10-042-10/+14
| | | | | | | | | | | | | | I couldn't find where the itimer was getting started for slave CPUs. CPU 0 (master) itimer was started in time_init() (arch/parisc/kernel/time.c). start_cpu_itimer() code was striped from time_init(). Slaves now start their itimer in smp_cpu_init(). This is a first step towards making gettimeoffset() work for SMP. Next step will be to determine the CR16 (cycle counter) offsets for each CPU relative to the master (CPU 0). Signed-off-by: Grant Grundler <grundler@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Prevent processor_probe() from clobbering cpu_data[0]Grant Grundler2006-10-041-2/+3
| | | | | | | | processor_probe() shouldn't clobber cpu_data[0] cpu_data[0].it_value (used by timer_interrupt()) is already set. Signed-off-by: Grant Grundler <grundler@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Use CONFIG_HZ to determine interval timer rate (aka clock ticks)Grant Grundler2006-10-041-7/+3
| | | | | | | | | This isn't likely to be causing problems for other bits of kernel code. I can't find any other user of CONFIG_HZ outside of arch specific code. Signed-off-by: Grant Grundler <grundler@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Implement futex_atomic_cmpxchg_inatomicCarlos O'Donell2006-10-041-3/+68
| | | | | | | Implement trivial futex_atomic_cmpxchg_inatomic for testing. Signed-off-by: Carlos O'Donell <carlos@systemhalted.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Improve rwlock implementationMatthew Wilcox2006-10-041-37/+61
| | | | | | | | Rewrite rwlock implementation to avoid various deadlocks in the current scheme. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] [BUGFIX] nullify branch delay slot of the jump back toKyle McMartin2006-10-041-1/+1
| | | | | | | intr_restore in intr_do_preempt. This prevents the execution of an unwanted insn... Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Clean up asm-parisc/serial.hMatthew Wilcox2006-10-042-16/+4
| | | | | | | | | Russell King pointed out that asm/serial.h is anachronistic and we were misusing BASE_BAUD. So fix BASE_BAUD for PCI 16550 UARTs, move LASI_BASE_BAUD into 8250_gsc, and fix the obsolete comment about reserving serial port slots. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Allow overriding personality with sys_personalityKyle McMartin2006-10-042-2/+47
| | | | | | And now suddenly, linux32 works on parisc... Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Switch is_compat_task to use TIF_32BITKyle McMartin2006-10-044-29/+6
| | | | | | | | Stop using PER_LINUX32 to designate processes needing compaterizing. Convert is_compat_task to use TIF_32BIT and set TIF_32BIT in binfmt_elf32.c Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Prevent multiple includes of asm-parisc/parisc-device.hKyle McMartin2006-10-041-0/+5
| | | | Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] parisc specific kmap API implementation for pa8800James Bottomley2006-10-044-23/+87
| | | | | | | | | | | | | | | | This patch fixes the pa8800 at a gross level (there are still other subtle incoherency issues which can still cause crashes and HPMCs). What it does is try to force eject inequivalent aliases before they become visible to the L2 cache (which is where we get the incoherence problems). A new function (parisc_requires_coherency) is introduced in asm/processor.h to identify the pa8x00 processors (8800 and 8900) which have the issue. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Document that D-class can also use serial_muxCarlos O'Donell2006-10-041-4/+5
| | | | | Signed-off-by: Carlos O'Donell <carlos@systemhalted.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Fix up parisc irq handling for genirq changesKyle McMartin2006-10-042-3/+3
| | | | | | Clean up enough to get things compiling again in the interim. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Add asm-parisc/mckinley.h bus headerKyle McMartin2006-10-042-4/+10
| | | | | | | Add header for McKinley bus related code. Remove extern decl of proc_mckinley_root in drivers/parisc/sba_iommu.c Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Abstract shift register left in .SKyle McMartin2006-10-042-17/+8
| | | | | | | | Abstract existing shift register left macros as shift register right are. This lends itself to a nice clean up of some #ifdef blocks in entry.S Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PATCH] Need forward decl of task_struct in linux/debug_locks.hKyle McMartin2006-10-041-0/+2
| | | | Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Remove variables decls duplicated from asm-generic/sections.hKyle McMartin2006-10-041-13/+10
| | | | Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] PA7200 also supports prefetch for readKyle McMartin2006-10-042-1/+4
| | | | | | | | | It seems PA7200 processors also suppress traps on loads to %r0. This means we can prefetch for read on these cpus. Of course, we can't support prefetch for write, since that requires LOAD DOUBLEWORD which was added with PA2.0 Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PARISC] Untangle <asm/processor.h> header include messKyle McMartin2006-10-042-26/+38
| | | | | | | | | | | | | | | asm/processor.h on parisc wants spinlocks for cpuinfo, but linux/spinlock_types.h needs lockdep, and lockdep wants prefetch. This leads to a horrible circular dependancy, because <asm/processor.h> is including something which depends on things which are not defined until the end of the file. Kludge around this by moving prefetch related code into <asm/prefetch.h> and including it before <linux/spinlock_types.h>, however this is just a temporary solution until this mess can be cleaned up. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
* [PATCH] i383 numa: fix numaq/summit apicid conflictKeith Mannthey2006-10-032-2/+2
| | | | | | | | | | | This allows numaq to properly align cpus to their given node during boot. Pass logical apicid to apicid_to_node and allow the summit sub-arch to use physical apicid (hard_smp_processor_id()). Tested against numaq and summit based systems with no issues. Signed-off-by: Keith Mannthey <kmannth@us.ibm.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivialLinus Torvalds2006-10-03596-1333/+1095
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: (39 commits) Add missing maintainer countries in CREDITS Fix bytes <-> kilobytes typo in Kconfig for ramdisk fix a typo in Documentation/pi-futex.txt BUG_ON conversion for fs/xfs/ BUG_ON() conversion in fs/nfsd/ BUG_ON conversion for fs/reiserfs BUG_ON cleanups in arch/i386 BUG_ON cleanup in drivers/net/tokenring/ BUG_ON cleanup for drivers/md/ kerneldoc-typo in led-class.c debugfs: spelling fix rcutorture: Fix incorrect description of default for nreaders parameter parport: Remove space in function calls Michal Wronski: update contact info Spelling fix: "control" instead of "cotrol" reboot parameter in Documentation/kernel-parameters.txt Fix copy&waste bug in comment in scripts/kernel-doc remove duplicate "until" from kernel/workqueue.c ite_gpio fix tabbage fix file specification in comments ... Fixed trivial path conflicts due to removed files: arch/mips/dec/boot/decstation.c, drivers/char/ite_gpio.c
| * Add missing maintainer countries in CREDITSSamuel Tardieu2006-10-031-0/+6
| | | | | | | | | | | | | | Add missing maintainer countries. Signed-off-by: Samuel Tardieu <sam@rfc1149.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Fix bytes <-> kilobytes typo in Kconfig for ramdiskChristian Borntraeger2006-10-031-1/+1
| | | | | | | | | | | | | | | | This is a small fix for a typo in Kconfig. The default value for the block size is 1024 bytes not 1024 kilobytes. Signed-off-by: Christian Borntraeger <borntrae@de.ibm.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * fix a typo in Documentation/pi-futex.txtRiccardo Magliocchetti2006-10-031-1/+1
| | | | | | | | | | Signed-off-by: Riccardo Magliocchetti <riccardo@datahost.it> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * BUG_ON conversion for fs/xfs/Eric Sesterhenn2006-10-031-4/+2
| | | | | | | | | | | | | | | | | | This patch converts two if () BUG(); construct to BUG_ON(); which occupies less space, uses unlikely and is safer when BUG() is disabled. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * BUG_ON() conversion in fs/nfsd/Eric Sesterhenn2006-10-031-2/+1
| | | | | | | | | | | | | | | | | | This patch converts an if () BUG(); construct to BUG_ON(); which occupies less space, uses unlikely and is safer when BUG() is disabled. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * BUG_ON conversion for fs/reiserfsEric Sesterhenn2006-10-035-54/+26
| | | | | | | | | | | | | | | | | | | | This patch converts several if () BUG(); construct to BUG_ON(); which occupies less space, uses unlikely and is safer when BUG() is disabled. S_ISREG() has no side effects, so the conversion is safe. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * BUG_ON cleanups in arch/i386Eric Sesterhenn2006-10-034-8/+4
| | | | | | | | | | | | | | | | This changes a couple of if() BUG(); constructs to BUG_ON(); so it can be safely optimized away. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * BUG_ON cleanup in drivers/net/tokenring/Eric Sesterhenn2006-10-031-2/+1
| | | | | | | | | | | | | | | | This patch converts one if() BUG(); to BUG_ON(); so it can be safely optimized away. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * BUG_ON cleanup for drivers/md/Eric Sesterhenn2006-10-032-3/+2
| | | | | | | | | | | | | | | | This changes two if() BUG(); usages to BUG_ON(); so people can disable it safely. Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * kerneldoc-typo in led-class.cHenrik Kretzschmar2006-10-031-1/+1
| | | | | | | | | | | | | | Fixes a typo in led-class.c kerneldoc. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * debugfs: spelling fixKomal Shah2006-10-031-1/+1
| | | | | | | | | | | | | | Change debufs_create_file() to debugfs_create_file(). Signed-off-by: Komal Shah <komal_shah802003@yahoo.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * rcutorture: Fix incorrect description of default for nreaders parameterJosh Triplett2006-10-031-1/+1
| | | | | | | | | | | | | | | | | | The comment for the nreaders parameter of rcutorture gives the default as 4*ncpus, but the value actually defaults to 2*ncpus; fix the comment. Signed-off-by: Josh Triplett <josh@freedesktop.org> Acked-by: Paul E. McKenney <paulmck@us.ibm.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * parport: Remove space in function callsMatthew Martin2006-10-031-106/+106
| | | | | | | | | | | | | | This removes the space in function calls in drivers/parport/daisy.c Signed-off-by: Matthew Martin <lihnucks@gmail.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Michal Wronski: update contact infoMichal Wronski2006-10-032-2/+2
| | | | | | | | | | | | | | My email has changed. Signed-Off-By: Michal Wronski <michal.wronski@gmail.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Spelling fix: "control" instead of "cotrol"Michael Opdenacker2006-10-032-4/+4
| | | | | | | | | | | | | | | | This patch against fixes a spelling mistake ("control" instead of "cotrol"). Signed-off-by: Michael Opdenacker <michael@free-electrons.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * reboot parameter in Documentation/kernel-parameters.txtMichael Opdenacker2006-10-031-1/+1
| | | | | | | | | | | | | | | | Documentation fix for the arm and arm26 architectures, in which the reboot kernel parameter is set in arch/*/kernel/process.c Signed-off-by: Michael Opdenacker <michael@free-electrons.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Fix copy&waste bug in comment in scripts/kernel-docRolf Eike Beer2006-10-031-2/+2
| | | | | | | | | | | | | | | | This is obviously copied from some lines before without proper fixing. Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * remove duplicate "until" from kernel/workqueue.cRolf Eike Beer2006-10-031-1/+1
| | | | | | | | | | | | | | s/until until/until/ Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * ite_gpio fix tabbageJim Cromie2006-10-031-7/+7
| | | | | | | | | | | | caught some leading spaces in passing. Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * fix file specification in commentsUwe Zeisberger2006-10-03313-313/+313
| | | | | | | | | | | | | | Many files include the filename at the beginning, serveral used a wrong one. Signed-off-by: Uwe Zeisberger <Uwe_Zeisberger@digi.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Documentation: remove duplicated wordsPaolo Ornati2006-10-0352-62/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove many duplicated words under Documentation/ and do other small cleanups. Examples: "and and" --> "and" "in in" --> "in" "the the" --> "the" "the the" --> "to the" ... Signed-off-by: Paolo Ornati <ornati@fastwebnet.it> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Fix typos in Documentation/: 'S'Matt LaPlante2006-10-0330-71/+72
| | | | | | | | | | | | | | | | | | | | This patch fixes typos in various Documentation txts. The patch addresses some words starting with the letter 'S'. Signed-off-by: Matt LaPlante <kernel1@cyberdogtech.com> Acked-by: Alan Cox <alan@redhat.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Fix typos in Documentation/: 'Q'-'R'Matt LaPlante2006-10-0326-40/+40
| | | | | | | | | | | | | | | | | | This patch fixes typos in various Documentation txts. The patch addresses some words starting with the letters 'Q'-'R'. Signed-off-by: Matt LaPlante <kernel1@cyberdogtech.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Fix "can not" in Documentation and KconfigMatt LaPlante2006-10-0324-31/+31
| | | | | | | | | | | | | | | | | | | | | | Randy brought it to my attention that in proper english "can not" should always be written "cannot". I donot see any reason to argue, even if I mightnot understand why this rule exists. This patch fixes "can not" in several Documentation files as well as three Kconfigs. Signed-off-by: Matt LaPlante <kernel1@cyberdogtech.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Fix typos in Documentation/: 'N'-'P'Matt LaPlante2006-10-0341-79/+78
| | | | | | | | | | | | | | | | | | This patch fixes typos in various Documentation txts. The patch addresses some words starting with the letters 'N'-'P'. Signed-off-by: Matt LaPlante <kernel1@cyberdogtech.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Fix typos in Documentation/: 'H'-'M'Matt LaPlante2006-10-0339-62/+62
| | | | | | | | | | | | | | | | | | This patch fixes typos in various Documentation txts. The patch addresses some words starting with the letters 'H'-'M'. Signed-off-by: Matt LaPlante <kernel1@cyberdogtech.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Fix typos in Documentation/: 'F'-'G'Matt LaPlante2006-10-0321-23/+23
| | | | | | | | | | | | | | | | This patch fixes typos in various Documentation txts. The patch addresses some words starting with the letters 'F'-'G'. Signed-off-by: Matt LaPlante <kernel1@cyberdogtech.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Fix typos in Documentation/: 'D'-'E'Matt LaPlante2006-10-0338-64/+63
| | | | | | | | | | | | | | | | This patch fixes typos in various Documentation txts. This patch addresses some words starting with the letters 'D'-'E'. Signed-off-by: Matt LaPlante <kernel1@cyberdogtech.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
| * Fix typos in Documentation/: 'B'-'C'Matt LaPlante2006-10-0319-38/+38
| | | | | | | | | | | | | | | | | | This patch fixes typos in various Documentation txts. This patch addresses some words starting with the letters 'B'-'C'. There are also a few grammar fixes thrown in for Randy. ;) Signed-off-by: Matt LaPlante <kernel1@cyberdogtech.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>