From 2cf37e65a3f774b98a00faabbee451afa4f8a4dd Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Sun, 2 May 2010 16:45:08 +0000 Subject: [PATCH] MFC: r206449 Unlike the sun4v variant, the sun4u version of SUNW,set-trap-table actually only takes one argument. --- sys/sparc64/sparc64/trap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/sparc64/sparc64/trap.c b/sys/sparc64/sparc64/trap.c index c451907f358..0976bb65013 100644 --- a/sys/sparc64/sparc64/trap.c +++ b/sys/sparc64/sparc64/trap.c @@ -260,7 +260,8 @@ sun4u_set_traptable(void *tba_addr) cell_t tba_addr; } args = { (cell_t)"SUNW,set-trap-table", - 2, + 1, + 0, }; args.tba_addr = (cell_t)tba_addr;