]> err.no Git - linux-2.6/log
linux-2.6
18 years agoIB/srp: Remove redundant memset()
Ishai Rabinovitz [Tue, 10 Oct 2006 16:51:14 +0000 (09:51 -0700)]
IB/srp: Remove redundant memset()

scsi_host_alloc() already allocates with kzalloc(), so the struct Scsi_Host
is zeroed out, including the private data portion.  Remove the redundant
memset that zeros this out again in the SRP initiator.

Signed-off-by: Ishai Rabinovitz <ishai@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
18 years agoRDMA/amso1100: Add spinlocks to serialize ib_post_send/ib_post_recv
Tom Tucker [Tue, 3 Oct 2006 14:46:41 +0000 (09:46 -0500)]
RDMA/amso1100: Add spinlocks to serialize ib_post_send/ib_post_recv

The AMSO driver was not thread-safe in the post WR code and had
code that would sleep if the WR post FIFO was full. Since these
functions can be called on interrupt level I changed the sleep to a
udelay.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
18 years ago[PATCH] mm: bug in set_page_dirty_buffers
Nick Piggin [Tue, 10 Oct 2006 02:36:54 +0000 (04:36 +0200)]
[PATCH] mm: bug in set_page_dirty_buffers

This was triggered, but not the fault of, the dirty page accounting
patches. Suitable for -stable as well, after it goes upstream.

  Unable to handle kernel NULL pointer dereference at virtual address 0000004c
  EIP is at _spin_lock+0x12/0x66
  Call Trace:
   [<401766e7>] __set_page_dirty_buffers+0x15/0xc0
   [<401401e7>] set_page_dirty+0x2c/0x51
   [<40140db2>] set_page_dirty_balance+0xb/0x3b
   [<40145d29>] __do_fault+0x1d8/0x279
   [<40147059>] __handle_mm_fault+0x125/0x951
   [<401133f1>] do_page_fault+0x440/0x59f
   [<4034d0c1>] error_code+0x39/0x40
   [<08048a33>] 0x8048a33

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Linus Torvalds [Tue, 10 Oct 2006 02:35:20 +0000 (19:35 -0700)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6

* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
  [SPARC32]: Fix prom.c build warning
  [SPARC64]: Update defconfig.
  [SPARC64]: Fix of_device bus_id settings.
  [SPARC64]: Update MAINTAINERS entry.

18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davej/configh
Linus Torvalds [Tue, 10 Oct 2006 01:55:00 +0000 (18:55 -0700)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/configh

* master.kernel.org:/pub/scm/linux/kernel/git/davej/configh:
  [HEADERS] Put linux/config.h out of its misery.

18 years ago[SPARC32]: Fix prom.c build warning
Martin Habets [Tue, 10 Oct 2006 01:10:16 +0000 (18:10 -0700)]
[SPARC32]: Fix prom.c build warning

Fix these 2.6.19-rc1 build warnings:

  CC      arch/sparc/kernel/prom.o
arch/sparc/kernel/prom.c: In function `of_set_property':
arch/sparc/kernel/prom.c:246: warning: passing arg 2 of `prom_setprop' discards qualifiers from pointer target type
arch/sparc/kernel/prom.c: In function `build_one_prop':
arch/sparc/kernel/prom.c:446: warning: unused variable `len'
arch/sparc/kernel/prom.c:480: warning: ignoring return value of `prom_getproperty', declared with attribute warn_unused_result

Signed-off-by: Martin Habets <errandir_news@mph.eclipse.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[SPARC64]: Update defconfig.
David S. Miller [Thu, 5 Oct 2006 09:08:59 +0000 (02:08 -0700)]
[SPARC64]: Update defconfig.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[SPARC64]: Fix of_device bus_id settings.
David S. Miller [Thu, 5 Oct 2006 09:07:32 +0000 (02:07 -0700)]
[SPARC64]: Fix of_device bus_id settings.

They have to be unique system-wide, so use
"NAME@NODE" as the string pattern of the non-root
nodes.

Thanks to Andrew Morton for fixing the error value
checking in bus_add_device() which made this problem
finally noticable.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[SPARC64]: Update MAINTAINERS entry.
David S. Miller [Thu, 5 Oct 2006 00:31:00 +0000 (17:31 -0700)]
[SPARC64]: Update MAINTAINERS entry.

ultralinux@vger is deprecated, folks should use
sparclinux@vger for both sparc ports.

Eddie, Anton, and Jakub haven't been active in
sparc64 maintainence for years, so best to remove
them as reports do nothing more than fill up their
mailboxes :)

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[HEADERS] Put linux/config.h out of its misery.
Dave Jones [Mon, 9 Oct 2006 23:13:51 +0000 (19:13 -0400)]
[HEADERS] Put linux/config.h out of its misery.

Signed-off-by: Dave Jones <davej@redhat.com>
18 years ago[MIPS] Make sure cpu_has_fpu is used only in atomic context
Atsushi Nemoto [Sun, 8 Oct 2006 15:10:01 +0000 (00:10 +0900)]
[MIPS] Make sure cpu_has_fpu is used only in atomic context

Make sure cpu_has_fpu (which uses smp_processor_id()) is used only in
atomic context.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Fix build errors related to wbflush.h on tx4927/tx4938.
Atsushi Nemoto [Sun, 20 Aug 2006 13:55:52 +0000 (22:55 +0900)]
[MIPS] Fix build errors related to wbflush.h on tx4927/tx4938.

TX49 CPUs have a SYNC instruction so that CONFIG_CPU_HAS_WB is no
longer needed.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Alchemy: nuke usbdev; it's useless as is ...
Ralf Baechle [Mon, 9 Oct 2006 15:34:41 +0000 (16:34 +0100)]
[MIPS] Alchemy: nuke usbdev; it's useless as is ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Malta: Fix build for non-MIPS32/64 configuration.
Ralf Baechle [Mon, 5 Jun 2006 10:54:41 +0000 (11:54 +0100)]
[MIPS] Malta: Fix build for non-MIPS32/64 configuration.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[RTC] Consistently use of tabs for formatting.
Ralf Baechle [Mon, 9 Oct 2006 22:20:47 +0000 (23:20 +0100)]
[RTC] Consistently use of tabs for formatting.

18 years ago[MIPS] NUMA: Register all nodes before cpus or sysfs will barf.
Ralf Baechle [Fri, 7 Jul 2006 23:07:40 +0000 (01:07 +0200)]
[MIPS] NUMA: Register all nodes before cpus or sysfs will barf.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] qtronix: remove driver.
Ralf Baechle [Mon, 9 Oct 2006 22:20:46 +0000 (23:20 +0100)]
[MIPS] qtronix: remove driver.

Another leftover of removing support for the ITE8172.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] ret_from_irq adjustment
Atsushi Nemoto [Sun, 8 Oct 2006 16:24:23 +0000 (01:24 +0900)]
[MIPS] ret_from_irq adjustment

Make sure that RA on top of interrupt stack is an address of ret_from_irq,
so that dump_stack etc. can trace info interrupted context.

Also this patch fixes except_vec_vi_handler and __smtc_ipi_vector which
seems broken.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Fix RM9000 wait instruction detection.
Ralf Baechle [Fri, 2 Jun 2006 10:48:11 +0000 (11:48 +0100)]
[MIPS] Fix RM9000 wait instruction detection.

Only revisions < 4.0 don't have a functional wait instruction.

From Thomas Koeller (Thomas.Koeller@baslerweb.com).

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[PATCH] m68k/MVME167: SERIAL167 tty flip buffer updates
Geert Uytterhoeven [Mon, 9 Oct 2006 20:27:42 +0000 (22:27 +0200)]
[PATCH] m68k/MVME167: SERIAL167 tty flip buffer updates

Compile fixes related to changed tty flip buffer handling.

Signed-off-by: Kars de Jong <jongk@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] m68k/MVME167: SERIAL167 is no longer broken
Geert Uytterhoeven [Mon, 9 Oct 2006 20:27:42 +0000 (22:27 +0200)]
[PATCH] m68k/MVME167: SERIAL167 is no longer broken

- SERIAL167 is no longer broken
- Removed some unused variables from the driver to fix compiler warnings

Signed-off-by: Kars de Jong <jongk@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] m68k/Apollo: Remove obsolete arch/m68k/apollo/dma.c
Geert Uytterhoeven [Mon, 9 Oct 2006 20:23:56 +0000 (22:23 +0200)]
[PATCH] m68k/Apollo: Remove obsolete arch/m68k/apollo/dma.c

Remove unused arch/m68k/apollo/dma.c, which was obsoleted by the move to the
generic DMA API.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] m68k/Atari: Interrupt updates
Geert Uytterhoeven [Mon, 9 Oct 2006 20:23:31 +0000 (22:23 +0200)]
[PATCH] m68k/Atari: Interrupt updates

Misc Atari fixes:
  - initialize correct number of atari irqs
  - silence vbl interrupt until it's used by atafb
  - use mdelay() to read clock if necessary

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] m68k/HP300: Enable HIL configuration options
Geert Uytterhoeven [Mon, 9 Oct 2006 20:22:37 +0000 (22:22 +0200)]
[PATCH] m68k/HP300: Enable HIL configuration options

Enable HIL configuration options on HP300

Signed-off-by: Kars de Jong <jongk@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] m68k: more syscall updates
Geert Uytterhoeven [Mon, 9 Oct 2006 20:02:31 +0000 (22:02 +0200)]
[PATCH] m68k: more syscall updates

Add missing syscalls

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] m68k: syscall updates
Geert Uytterhoeven [Mon, 9 Oct 2006 20:02:25 +0000 (22:02 +0200)]
[PATCH] m68k: syscall updates

Add some missing system calls (recent udev needs them)

Signed-off-by: Kars de Jong <jongk@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] x86_64 irq: Scream but don't die if we receive an unexpected irq
Eric W. Biederman [Mon, 9 Oct 2006 05:41:59 +0000 (23:41 -0600)]
[PATCH] x86_64 irq: Scream but don't die if we receive an unexpected irq

Due to code bugs or misbehaving hardware it is possible that we can
receive an interrupt that we have not mapped into a linux irq.  Calling
BUG when that happens is very rude, and if the problem is mild enough
prevents anything else from getting done.

So instead of calling BUG just scream loudly about the problem and
continue running.  We don't have enough knowledge to know which
interrupt triggered this behavior so we don't acknowledge it.  This will
likely prevent a recurrence of the problem by jamming up the works with
an unacknowledged interrupt.

If the interrupt was something important it is quite possible that
nothing productive will happen past this point.  But it is now at least
possible to keep working if the kernel can survive without the interrupt
we dropped on the floor.

Solutions like irqpoll should generally make dropped irqs non-fatal.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge git://git.infradead.org/~dhowells/irq-2.6
Linus Torvalds [Mon, 9 Oct 2006 21:29:26 +0000 (14:29 -0700)]
Merge git://git.infradead.org/~dhowells/irq-2.6

* git://git.infradead.org/~dhowells/irq-2.6:
  IRQ: Use the new typedef for interrupt handler function pointers

18 years agoMerge branch 'irqclean-submit1' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzi...
Linus Torvalds [Mon, 9 Oct 2006 21:21:45 +0000 (14:21 -0700)]
Merge branch 'irqclean-submit1' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6

* 'irqclean-submit1' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6:
  drivers/isdn/act2000: kill irq2card_map
  drivers/net/eepro: kill dead code
  Various drivers' irq handlers: kill dead code, needless casts
  drivers/net: eliminate irq handler impossible checks, needless casts
  arch/i386/kernel/time: don't shadow 'irq' function arg

18 years ago[PATCH] Introduce vfs_listxattr
Bill Nottingham [Mon, 9 Oct 2006 20:10:48 +0000 (16:10 -0400)]
[PATCH] Introduce vfs_listxattr

This patch moves code out of fs/xattr.c:listxattr into a new function -
vfs_listxattr. The code for vfs_listxattr was originally submitted by Bill
Nottingham <notting@redhat.com> to Unionfs.

Sorry about that.  The reason for this submission is to make the
listxattr code in fs/xattr.c a little cleaner (as well as to clean up
some code in Unionfs.)

Currently, Unionfs has vfs_listxattr defined in its code.  I think
that's very ugly, and I'd like to see it (re)moved.  The logical place
to put it, is along side of all the other vfs_*xattr functions.

Overall, I think this patch is benefitial for both kernel.org kernel and
Unionfs.

Signed-off-by: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] tifm __iomem annotations, NULL noise removal
Al Viro [Mon, 9 Oct 2006 19:29:43 +0000 (20:29 +0100)]
[PATCH] tifm __iomem annotations, NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] mos7840 annotations
Al Viro [Mon, 9 Oct 2006 19:29:03 +0000 (20:29 +0100)]
[PATCH] mos7840 annotations

__user annotations, NULL noise removal, %p use for pointers

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] s390 traps.c __user annotations
Al Viro [Mon, 9 Oct 2006 19:28:03 +0000 (20:28 +0100)]
[PATCH] s390 traps.c __user annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] hppfs: readdir callback missed in prototype change
Al Viro [Mon, 9 Oct 2006 19:26:58 +0000 (20:26 +0100)]
[PATCH] hppfs: readdir callback missed in prototype change

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] dlm gfp_t annotations
Al Viro [Mon, 9 Oct 2006 19:27:30 +0000 (20:27 +0100)]
[PATCH] dlm gfp_t annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] wrong order of arguments in copy_to_user() in ncpfs
Al Viro [Mon, 9 Oct 2006 19:24:49 +0000 (20:24 +0100)]
[PATCH] wrong order of arguments in copy_to_user() in ncpfs

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] mv64630_pic NULL noise removal
Al Viro [Mon, 9 Oct 2006 15:26:47 +0000 (16:26 +0100)]
[PATCH] mv64630_pic NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] trivial iomem annotations (arch/powerpc/platfroms/parsemi/pci.c)
Al Viro [Mon, 9 Oct 2006 15:23:09 +0000 (16:23 +0100)]
[PATCH] trivial iomem annotations (arch/powerpc/platfroms/parsemi/pci.c)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] extern doesn't make sense on a definition of function...
Al Viro [Mon, 9 Oct 2006 15:22:09 +0000 (16:22 +0100)]
[PATCH] extern doesn't make sense on a definition of function...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] more ia64 irq handlers
Al Viro [Mon, 9 Oct 2006 11:47:31 +0000 (12:47 +0100)]
[PATCH] more ia64 irq handlers

Cast to (void *) in request_irq() argument is stupid and
only hides problems...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] fallout from alpha pt_regs patches
Al Viro [Mon, 9 Oct 2006 11:46:52 +0000 (12:46 +0100)]
[PATCH] fallout from alpha pt_regs patches

missed irq handler in sys_titan and forgotten prototype update.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] sparc64 irq pt_regs fallout
Al Viro [Mon, 9 Oct 2006 10:51:14 +0000 (11:51 +0100)]
[PATCH] sparc64 irq pt_regs fallout

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoIRQ: Use the new typedef for interrupt handler function pointers
David Howells [Mon, 9 Oct 2006 11:19:47 +0000 (12:19 +0100)]
IRQ: Use the new typedef for interrupt handler function pointers

Use the new typedef for interrupt handler function pointers rather than
actually spelling out the full thing each time.  This was scripted with the
following small shell script:

#!/bin/sh
egrep -nHrl -e 'irqreturn_t[  ]*[(][*]' $* |
while read i
do
    echo $i
    perl -pi -e 's/irqreturn_t\s*[(]\s*[*]\s*([_a-zA-Z0-9]*)\s*[)]\s*[(]\s*int\s*,\s*void\s*[*]\s*[)]/irq_handler_t \1/g' $i || exit $?
done

Signed-Off-By: David Howells <dhowells@redhat.com>
18 years ago[PATCH] m68k/kernel/dma.c assumes !MMU_SUN3
Al Viro [Mon, 9 Oct 2006 01:11:47 +0000 (02:11 +0100)]
[PATCH] m68k/kernel/dma.c assumes !MMU_SUN3

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] arm: it's OK to pass pointer to volatile as iounmap() argument...
Al Viro [Mon, 9 Oct 2006 01:09:49 +0000 (02:09 +0100)]
[PATCH] arm: it's OK to pass pointer to volatile as iounmap() argument...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoFix extraneous '&' in recent NFS client cleanup
Linus Torvalds [Mon, 9 Oct 2006 00:28:25 +0000 (17:28 -0700)]
Fix extraneous '&' in recent NFS client cleanup

We should pass "wait_event_interruptible()" the wait-queue itself, not
the pointer to it. The magic macro will pointerize it internally.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
Linus Torvalds [Sun, 8 Oct 2006 23:42:11 +0000 (16:42 -0700)]
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus

* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
  [MIPS] Cleanup unnecessary <asm/ptrace.h> inclusions.
  [MIPS] DEC: pt_regs fixes for buserror handlers
  [MIPS] Fix return type of gt64120_irq.
  [MIPS] Ocelot C: Build fix - ll_mv64340_irq takes no more regs argument.
  [MIPS] Jazz defconfig file.
  [MIPS] Jazz: build fix - include <linux/screen_info.h>
  [MIPS] Jazz: Remove warning.  After 7 years probably somebody test this ;)
  [MIPS] Jazz: Fix I/O port resources.
  [MIPS] DEC: pt_regs fixes for dec_intr_halt.
  handle_sysrq lost its pt_regs * argument

Manual conflict resolved in arch/um/drivers/mconsole_kern.c

18 years ago[PATCH] uml pt_regs fixes
Al Viro [Sun, 8 Oct 2006 21:49:34 +0000 (22:49 +0100)]
[PATCH] uml pt_regs fixes

Real fix for UML pt_regs stuff.  Note set_irq_regs() logics in there...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[MIPS] Cleanup unnecessary <asm/ptrace.h> inclusions.
Ralf Baechle [Sun, 8 Oct 2006 23:03:05 +0000 (00:03 +0100)]
[MIPS] Cleanup unnecessary <asm/ptrace.h> inclusions.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] DEC: pt_regs fixes for buserror handlers
Ralf Baechle [Sun, 8 Oct 2006 23:00:31 +0000 (00:00 +0100)]
[MIPS] DEC: pt_regs fixes for buserror handlers

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Fix return type of gt64120_irq.
Ralf Baechle [Sun, 8 Oct 2006 22:56:13 +0000 (23:56 +0100)]
[MIPS] Fix return type of gt64120_irq.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Ocelot C: Build fix - ll_mv64340_irq takes no more regs argument.
Ralf Baechle [Sun, 8 Oct 2006 20:32:40 +0000 (21:32 +0100)]
[MIPS] Ocelot C: Build fix - ll_mv64340_irq takes no more regs argument.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Jazz defconfig file.
Ralf Baechle [Sun, 8 Oct 2006 19:50:12 +0000 (20:50 +0100)]
[MIPS] Jazz defconfig file.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Jazz: build fix - include <linux/screen_info.h>
Ralf Baechle [Sun, 8 Oct 2006 18:35:00 +0000 (19:35 +0100)]
[MIPS] Jazz: build fix - include <linux/screen_info.h>

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Jazz: Remove warning. After 7 years probably somebody test this ;)
Ralf Baechle [Sun, 8 Oct 2006 18:28:44 +0000 (19:28 +0100)]
[MIPS] Jazz: Remove warning.  After 7 years probably somebody test this ;)

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Jazz: Fix I/O port resources.
Ralf Baechle [Sun, 8 Oct 2006 18:19:11 +0000 (19:19 +0100)]
[MIPS] Jazz: Fix I/O port resources.

struct resource members were shuffeled a while ago.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] DEC: pt_regs fixes for dec_intr_halt.
Ralf Baechle [Sun, 8 Oct 2006 16:38:18 +0000 (17:38 +0100)]
[MIPS] DEC: pt_regs fixes for dec_intr_halt.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agohandle_sysrq lost its pt_regs * argument
Ralf Baechle [Sun, 8 Oct 2006 23:15:27 +0000 (00:15 +0100)]
handle_sysrq lost its pt_regs * argument

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoRevert "[POWERPC] Don't get PCI IRQ from OF for devices with no IRQ"
Linus Torvalds [Sun, 8 Oct 2006 22:38:22 +0000 (15:38 -0700)]
Revert "[POWERPC] Don't get PCI IRQ from OF for devices with no IRQ"

This reverts commit 41550c5128150175197257b6ceab2cd50dea7b51.

Quoth Ben Herrenschmidt:
 "Please revert this one for now.  It seems to break G5s :( Looks like
  PCI cells inside Apple IO ASICs don't have a PCI_INTERRUPT_LINE set.
  I need to figure out a better fix."

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] NFS: Fix typo in nfs_get_client()
Trond Myklebust [Sun, 8 Oct 2006 18:33:24 +0000 (14:33 -0400)]
[PATCH] NFS: Fix typo in nfs_get_client()

Commit ca4aa09635516258f158a7bc1594a794e4c34864 fixed waiting for the
structure to get initialised, but it is also possible to break out of
the loop while still in TASK_INTERRUPTIBLE.

Replace the whole thing by wait_event_interruptible, which is much more
readable, and doesn't suffer from these problems.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] linux/io.h needs types.h
Al Viro [Sun, 8 Oct 2006 14:08:45 +0000 (15:08 +0100)]
[PATCH] linux/io.h needs types.h

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] missing forward declaration of pt_regs (asm-m68k/signal.h)
Al Viro [Sun, 8 Oct 2006 14:05:14 +0000 (15:05 +0100)]
[PATCH] missing forward declaration of pt_regs (asm-m68k/signal.h)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] missing include of scatterlist.h
Al Viro [Sun, 8 Oct 2006 14:04:15 +0000 (15:04 +0100)]
[PATCH] missing include of scatterlist.h

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] missing include in pdaudiocf_irq
Al Viro [Sun, 8 Oct 2006 14:01:14 +0000 (15:01 +0100)]
[PATCH] missing include in pdaudiocf_irq

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] misc ppc pt_regs fixes
Al Viro [Sun, 8 Oct 2006 14:00:44 +0000 (15:00 +0100)]
[PATCH] misc ppc pt_regs fixes

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] misc arm pt_regs fixes
Al Viro [Sun, 8 Oct 2006 14:00:12 +0000 (15:00 +0100)]
[PATCH] misc arm pt_regs fixes

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] missed ia64 pt_regs fixes
Al Viro [Sun, 8 Oct 2006 13:59:19 +0000 (14:59 +0100)]
[PATCH] missed ia64 pt_regs fixes

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] alpha pt_regs cleanups: collapse set_irq_regs() in titan_dispatch_irqs()
Al Viro [Sun, 8 Oct 2006 13:45:28 +0000 (14:45 +0100)]
[PATCH] alpha pt_regs cleanups: collapse set_irq_regs() in titan_dispatch_irqs()

titan_dispatch_irqs() always gets get_irq_regs() as argument; kill
the argument and collapse set_irq_regs() in body.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] alpha pt_regs cleanups: machine_check()
Al Viro [Sun, 8 Oct 2006 13:44:38 +0000 (14:44 +0100)]
[PATCH] alpha pt_regs cleanups: machine_check()

do set_irq_regs() in caller, kill pt_regs argument.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] alpha pt_regs cleanups: handle_irq()
Al Viro [Sun, 8 Oct 2006 13:37:32 +0000 (14:37 +0100)]
[PATCH] alpha pt_regs cleanups: handle_irq()

isa_no_iack_sc_device_interrupt() always gets get_irq_regs() as
argument; kill that argument.

All but two callers of handle_irq() pass get_irq_regs() as argument;
convert the remaining two, kill set_irq_regs() inside handle_irq().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] alpha pt_regs cleanups: device_interrupt
Al Viro [Sun, 8 Oct 2006 13:36:08 +0000 (14:36 +0100)]
[PATCH] alpha pt_regs cleanups: device_interrupt

callers of ->device_interrupt() do set_irq_regs() now; pt_regs argument
removed, remaining uses of regs in instances of ->device_interrupt()
are switched to get_irq_regs() and will be gone in the next patch.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] m68k pt_regs fixes, part 2
Al Viro [Sun, 8 Oct 2006 13:33:33 +0000 (14:33 +0100)]
[PATCH] m68k pt_regs fixes, part 2

Fallout from previous patch:
 - actually add include/asm-m68k/irq_regs.h
 - missed the prototype of sun3_sched_init()

NB: git diff without argumentgs sucks when you've added
some files...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] sparc32 rwlock fix
Al Viro [Sun, 8 Oct 2006 13:32:15 +0000 (14:32 +0100)]
[PATCH] sparc32 rwlock fix

read_trylock() is broken on sparc32 (doesn't build and didn't work
right, actually).  Proposed fix:

 - make "writer holds lock" distinguishable from "reader tries to grab
   lock"

 - have __raw_read_trylock() try to acquire the mutex (in LSB of lock),
   terminating spin if we see that there's writer holding it.  Then do
   the rest as we do in read_lock().

Thanks to Ingo for discussion...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] sparc64 pt_regs fixes
Al Viro [Sun, 8 Oct 2006 12:23:28 +0000 (08:23 -0400)]
[PATCH] sparc64 pt_regs fixes

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] sparc32 pt_regs fixes
Al Viro [Sun, 8 Oct 2006 13:30:44 +0000 (14:30 +0100)]
[PATCH] sparc32 pt_regs fixes

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee13...
Linus Torvalds [Sun, 8 Oct 2006 19:28:41 +0000 (12:28 -0700)]
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6

* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
  ieee1394: nodemgr: fix startup of knodemgrd

18 years agoMerge branch 'irq-fixes' of git://git.parisc-linux.org/git/linux-2.6
Linus Torvalds [Sun, 8 Oct 2006 19:26:00 +0000 (12:26 -0700)]
Merge branch 'irq-fixes' of git://git.parisc-linux.org/git/linux-2.6

* 'irq-fixes' of git://git.parisc-linux.org/git/linux-2.6:
  [PARISC] More pt_regs removal
  [PARISC] pdc_init no longer exists
  [PARISC] Make firmware calls irqsafe-ish...
  [PA-RISC] Fix boot breakage
  [PARISC] Use set_irq_regs

18 years ago[PATCH] x86_64 irq: Allocate a vector across all cpus for genapic_flat.
Eric W. Biederman [Sun, 8 Oct 2006 13:47:55 +0000 (07:47 -0600)]
[PATCH] x86_64 irq: Allocate a vector across all cpus for genapic_flat.

The problem we can't take advantage of lowest priority delivery mode if
the vectors are allocated for only one cpu at a time.  Nor can we work
around hardware that assumes lowest priority delivery mode is always
used with several cpus.

So this patch introduces the concept of a vector_allocation_domain.  A
set of cpus that will receive an irq on the same vector.  Currently the
code for implementing this is placed in the genapic structure so we can
vary this depending on how we are using the io_apics.

This allows us to restore the previous behaviour of genapic_flat without
removing the benefits of having separate vector allocation for large
machines.

This should also fix the problem report where a hyperthreaded cpu was
receving the irq on the wrong hyperthread when in logical delivery mode
because the previous behaviour is restored.

This patch properly records our allocation of the first 16 irqs to the
first 16 available vectors on all cpus.  This should be fine but it may
run into problems with multiple interrupts at the same interrupt level.
Except for some badly maintained comments in the code and the behaviour
of the interrupt allocator I have no real understanding of that problem.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] i386/x86_64: Remove global IO_APIC_VECTOR
Eric W. Biederman [Sun, 8 Oct 2006 13:43:46 +0000 (07:43 -0600)]
[PATCH] i386/x86_64: Remove global IO_APIC_VECTOR

Which vector an irq is assigned to now varies dynamically and is
not needed outside of io_apic.c.  So remove the possibility
of accessing the information outside of io_apic.c and remove
the silly macro that makes looking for users of irq_vector
difficult.

The fact this compiles ensures there aren't any more pieces
of the old CONFIG_PCI_MSI weirdness that I failed to remove.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] i386/x86_64: FIX pci_enable_irq to set dev->irq to the irq number
Eric W. Biederman [Sun, 8 Oct 2006 13:41:19 +0000 (07:41 -0600)]
[PATCH] i386/x86_64: FIX pci_enable_irq to set dev->irq to the irq number

In commit ace80ab796ae30d2c9ee8a84ab6f608a61f8b87b I removed the weird
logic that used the vector number as the irq number when MSI was
defined.  However pci_enable_irq was using a different test in the
io_apic_assign_irqs path and I missed it :(

This patch removes the wrong code so no one hits this problem.

This code is only active when a specific set of boot command line
parameters is specified which likely explains why no one has notices
this earlier.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] NFS: Fix typo in nfs_get_client()
Trond Myklebust [Sun, 8 Oct 2006 18:33:24 +0000 (14:33 -0400)]
[PATCH] NFS: Fix typo in nfs_get_client()

NFS_CS_INITING > NFS_CS_READY, so instead of waiting for the structure to
get initialised, we currently immediately jump out of the loop without ever
sleeping.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoieee1394: nodemgr: fix startup of knodemgrd
Stefan Richter [Fri, 6 Oct 2006 17:49:52 +0000 (19:49 +0200)]
ieee1394: nodemgr: fix startup of knodemgrd

Revert a thinko in commit d2f119fe319528da8c76a1107459d6f478cbf28c:
When knodemgrd starts, it needs to sleep until host->generation was
incremented above its initial value of 0.  My wrong logic caused it to
start sending requests when the bus wasn't completely ready.  Seen as
"AT dma reset ctx=0, aborting transmission" messages in 2.6.19-rc1.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
18 years ago[MIPS] Fix DECserial build error by IRQ hander change
Yoichi Yuasa [Sat, 7 Oct 2006 04:41:51 +0000 (13:41 +0900)]
[MIPS] Fix DECserial build error by IRQ hander change

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Complete fixes after removal of pt_regs argument to int handlers.
Ralf Baechle [Sat, 7 Oct 2006 18:44:33 +0000 (19:44 +0100)]
[MIPS] Complete fixes after removal of pt_regs argument to int handlers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Show actual CPU information in /proc/cpuinfo
Karl-Johan Karlsson [Sat, 7 Oct 2006 23:15:02 +0000 (01:15 +0200)]
[MIPS] Show actual CPU information in /proc/cpuinfo

Currently, /proc/cpuinfo contains several copies of the information for
whatever processor we happen to be scheduled on. This patch makes it contain
the proper information for each CPU, which is particularly useful on mixed
R12k/R10k IP27 machines.

Signed-off-by: Karl-Johan Karlsson <creideiki@lysator.liu.se>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Cobalt: Time runs too quickly
Scott Ashcroft [Fri, 6 Oct 2006 15:54:54 +0000 (16:54 +0100)]
[MIPS] Cobalt: Time runs too quickly

A kernel built with HZ==250 runs about 4 four times too quickly on a
Cobalt RaQ2.

Signed-off-by: Scott Ashcroft <scott.ashcroft@talk21.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years ago[MIPS] Update Malta config.
Ralf Baechle [Fri, 6 Oct 2006 16:36:20 +0000 (17:36 +0100)]
[MIPS] Update Malta config.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 years agoMerge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
Linus Torvalds [Sat, 7 Oct 2006 17:52:00 +0000 (10:52 -0700)]
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc

* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
  [POWERPC] PReP fixup after irq changes
  [POWERPC] SPU fixup after irq changes
  [POWERPC] Fix up after irq changes
  [POWERPC] Fix iseries/smp.c for irq breakage
  [POWERPC] Fix viocons for irq breakage
  [POWERPC] Update iseries_defconfig
  [POWERPC] Fix fsl_soc build breaks
  [POWERPC] Minor fix for bootargs property
  [POWERPC] Update MTFSF_L() comment
  [POWERPC] Update pSeries defconfig for SATA
  [POWERPC] Don't get PCI IRQ from OF for devices with no IRQ
  [POWERPC] Fix zImage decompress location
  [POWERPC] linux,tce-size property is 32 bits
  [POWERPC] Add DTS for MPC8349E-mITX board
  [POWERPC] Fix harmless typo
  [PPC] Fix some irq breakage with ARCH=ppc

18 years ago[PATCH] m32r pt_regs fixes
Al Viro [Sat, 7 Oct 2006 15:29:18 +0000 (16:29 +0100)]
[PATCH] m32r pt_regs fixes

... and now with irq_regs.h not forgotten...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] minimal alpha pt_regs fixes
Al Viro [Sat, 7 Oct 2006 13:17:31 +0000 (14:17 +0100)]
[PATCH] minimal alpha pt_regs fixes

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] m68k pt_regs fixes
Al Viro [Sat, 7 Oct 2006 13:16:45 +0000 (14:16 +0100)]
[PATCH] m68k pt_regs fixes

m68k_handle_int() split in two functions: __m68k_handle_int() takes
pt_regs * and does set_irq_regs(); m68k_handle_int() doesn't get pt_regs
*.

Places where we used to call m68k_handle_int() recursively with the same
pt_regs have simply lost the second argument, the rest is switched to
__m68k_handle_int().

The rest of patch is just dropping pt_regs * where needed.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] reiserfs: null pointer dereferencing in reiserfs_read_bitmap_block
Eric Eric Sesterhenn [Sat, 7 Oct 2006 05:19:45 +0000 (22:19 -0700)]
[PATCH] reiserfs: null pointer dereferencing in reiserfs_read_bitmap_block

null pointer dereferencing in reiserfs_read_bitmap_block.

Signed-off-by: Alexander Zarochentsev <zam@namesys.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] swsusp: Make userland suspend work on SMP again
Rafael J. Wysocki [Sat, 7 Oct 2006 05:19:44 +0000 (22:19 -0700)]
[PATCH] swsusp: Make userland suspend work on SMP again

Unfortunately one of the recent changes in swsusp has broken the userland
suspend on SMP.  Fix it.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] slab: remove wrongly placed BUG_ON
Christoph Lameter [Sat, 7 Oct 2006 05:19:44 +0000 (22:19 -0700)]
[PATCH] slab: remove wrongly placed BUG_ON

Init list is called with a list parameter that is not equal to the
cachep->nodelists entry under NUMA if more than one node exists.  This is
fully legitimatei.  One may want to populate the list fields before
switching nodelist pointers.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[POWERPC] PReP fixup after irq changes
Olaf Hering [Fri, 6 Oct 2006 21:06:48 +0000 (23:06 +0200)]
[POWERPC] PReP fixup after irq changes

Compile fixes for PReP in ARCH=ppc.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[POWERPC] SPU fixup after irq changes
Olaf Hering [Fri, 6 Oct 2006 20:52:16 +0000 (22:52 +0200)]
[POWERPC] SPU fixup after irq changes

Remove struct pt_regs * from remaining spu irq functions.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[POWERPC] Fix up after irq changes
Olaf Hering [Sat, 7 Oct 2006 12:08:26 +0000 (22:08 +1000)]
[POWERPC] Fix up after irq changes

Remove struct pt_regs * from all handlers.
Also remove the regs argument from get_irq() functions.
Compile tested with arch/powerpc/config/* and
arch/ppc/configs/prep_defconfig

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[PARISC] More pt_regs removal
Matthew Wilcox [Sat, 7 Oct 2006 12:01:11 +0000 (06:01 -0600)]
[PARISC] More pt_regs removal

Remove pt_regs from ipi_interrupt and timer_interrupt.
Inline smp_do_timer() into its only caller, and unify the SMP and
non-SMP paths.  Fixes a profiling bug.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
18 years ago[PARISC] pdc_init no longer exists
Matthew Wilcox [Sat, 7 Oct 2006 03:45:09 +0000 (23:45 -0400)]
[PARISC] pdc_init no longer exists

Just a stale prototype

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
18 years ago[PARISC] Make firmware calls irqsafe-ish...
Kyle McMartin [Fri, 6 Oct 2006 03:45:45 +0000 (23:45 -0400)]
[PARISC] Make firmware calls irqsafe-ish...

There's no reason why we shouldn't be using _irqsave instead of
_irq for any of these calls. fwiw, this fixes the
"start_kernel(): bug: interrupts were enabled early" message displayed
on bootup recently.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Matthew Wilcox <matthew@wil.cx>