summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller2006-02-14 07:56:27 +0100
committerDavid S. Miller2006-03-20 10:12:51 +0100
commitc4bea2883974a59ab7a0ac6c01d34f7ae0e8cd8e (patch)
tree3d32f942cd0a62f6ca89fe7781f59708845d7a38 /include
parent[SPARC64]: Pass correct ino to sun4v_intr_*(). (diff)
downloadkernel-qcow2-linux-c4bea2883974a59ab7a0ac6c01d34f7ae0e8cd8e.tar.gz
kernel-qcow2-linux-c4bea2883974a59ab7a0ac6c01d34f7ae0e8cd8e.tar.xz
kernel-qcow2-linux-c4bea2883974a59ab7a0ac6c01d34f7ae0e8cd8e.zip
[SPARC64]: Make error codes available from sun4v_intr_get*().
And check for errors at call sites. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc64/hypervisor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-sparc64/hypervisor.h b/include/asm-sparc64/hypervisor.h
index 76a9d0fa2724..f14992ab7fec 100644
--- a/include/asm-sparc64/hypervisor.h
+++ b/include/asm-sparc64/hypervisor.h
@@ -1238,7 +1238,7 @@ extern unsigned long sun4v_intr_getenabled(unsigned long sysino);
#define HV_FAST_INTR_SETENABLED 0xa2
#ifndef __ASSEMBLY__
-extern void sun4v_intr_setenabled(unsigned long sysino, unsigned long intr_enabled);
+extern unsigned long sun4v_intr_setenabled(unsigned long sysino, unsigned long intr_enabled);
#endif
/* intr_getstate()
@@ -1274,7 +1274,7 @@ extern unsigned long sun4v_intr_getstate(unsigned long sysino);
#define HV_FAST_INTR_SETSTATE 0xa4
#ifndef __ASSEMBLY__
-extern void sun4v_intr_setstate(unsigned long sysino, unsigned long intr_state);
+extern unsigned long sun4v_intr_setstate(unsigned long sysino, unsigned long intr_state);
#endif
/* intr_gettarget()
@@ -1309,7 +1309,7 @@ extern unsigned long sun4v_intr_gettarget(unsigned long sysino);
#define HV_FAST_INTR_SETTARGET 0xa6
#ifndef __ASSEMBLY__
-extern void sun4v_intr_settarget(unsigned long sysino, unsigned long cpuid);
+extern unsigned long sun4v_intr_settarget(unsigned long sysino, unsigned long cpuid);
#endif
/* PCI IO services.