From 18a6f97c167070cbeebde0850c8539db411b1076 Mon Sep 17 00:00:00 2001 From: marius Date: Sat, 10 Apr 2010 10:56:59 +0000 Subject: [PATCH] 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 bbbe9028605a..c0772a188697 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;