aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-14 01:56:27 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:12:51 -0500
commitc4bea2883974a59ab7a0ac6c01d34f7ae0e8cd8e (patch)
tree3d32f942cd0a62f6ca89fe7781f59708845d7a38 /include/asm-sparc64
parent4bf447d6f7c2357dec8bdc24ce0fcffd71cc29c0 (diff)
[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/asm-sparc64')
-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);
1238#define HV_FAST_INTR_SETENABLED 0xa2 1238#define HV_FAST_INTR_SETENABLED 0xa2
1239 1239
1240#ifndef __ASSEMBLY__ 1240#ifndef __ASSEMBLY__
1241extern void sun4v_intr_setenabled(unsigned long sysino, unsigned long intr_enabled); 1241extern unsigned long sun4v_intr_setenabled(unsigned long sysino, unsigned long intr_enabled);
1242#endif 1242#endif
1243 1243
1244/* intr_getstate() 1244/* intr_getstate()
@@ -1274,7 +1274,7 @@ extern unsigned long sun4v_intr_getstate(unsigned long sysino);
1274#define HV_FAST_INTR_SETSTATE 0xa4 1274#define HV_FAST_INTR_SETSTATE 0xa4
1275 1275
1276#ifndef __ASSEMBLY__ 1276#ifndef __ASSEMBLY__
1277extern void sun4v_intr_setstate(unsigned long sysino, unsigned long intr_state); 1277extern unsigned long sun4v_intr_setstate(unsigned long sysino, unsigned long intr_state);
1278#endif 1278#endif
1279 1279
1280/* intr_gettarget() 1280/* intr_gettarget()
@@ -1309,7 +1309,7 @@ extern unsigned long sun4v_intr_gettarget(unsigned long sysino);
1309#define HV_FAST_INTR_SETTARGET 0xa6 1309#define HV_FAST_INTR_SETTARGET 0xa6
1310 1310
1311#ifndef __ASSEMBLY__ 1311#ifndef __ASSEMBLY__
1312extern void sun4v_intr_settarget(unsigned long sysino, unsigned long cpuid); 1312extern unsigned long sun4v_intr_settarget(unsigned long sysino, unsigned long cpuid);
1313#endif 1313#endif
1314 1314
1315/* PCI IO services. 1315/* PCI IO services.