]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
sparc64: Fix irq_of_parse_and_map() and irq_dispose_mapping().
authorDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2008 23:44:58 +0000 (16:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2008 23:44:58 +0000 (16:44 -0700)
commit51e0f004a9ab9104acbe323c0b20e0279bf9be85
tree477ccb9efa52eff7531cd04dc605bbf9e90152a4
parent783c98b911fce8d47aa2906468ca39d44d46d7ce
sparc64: Fix irq_of_parse_and_map() and irq_dispose_mapping().

Stephen Rothwell noticed that I committed an earlier version
of the patch that didn't have two things fixed:

1) irq_of_parse_and_map() should return "unsigned int" not "int"
   and it should return zero for "no irq"

2) irq_dispose_mapping() should be an inline function, not a macro,
   for type checking

With feedback and suggestions from Anton Vorontsov.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/prom.h
arch/sparc/kernel/of_device.c
arch/sparc64/kernel/of_device.c