diff options
Diffstat (limited to 'arch/sparc64/prom/misc.c')
-rw-r--r-- | arch/sparc64/prom/misc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc64/prom/misc.c b/arch/sparc64/prom/misc.c index 87f5cfce23bb..713cbac5f9bf 100644 --- a/arch/sparc64/prom/misc.c +++ b/arch/sparc64/prom/misc.c | |||
@@ -136,6 +136,11 @@ void prom_set_trap_table(unsigned long tba) | |||
136 | p1275_cmd("SUNW,set-trap-table", P1275_INOUT(1, 0), tba); | 136 | p1275_cmd("SUNW,set-trap-table", P1275_INOUT(1, 0), tba); |
137 | } | 137 | } |
138 | 138 | ||
139 | void prom_set_trap_table_sun4v(unsigned long tba, unsigned long mmfsa) | ||
140 | { | ||
141 | p1275_cmd("SUNW,set-trap-table", P1275_INOUT(2, 0), tba, mmfsa); | ||
142 | } | ||
143 | |||
139 | int prom_get_mmu_ihandle(void) | 144 | int prom_get_mmu_ihandle(void) |
140 | { | 145 | { |
141 | int node, ret; | 146 | int node, ret; |