Commit 23893419 authored by David S. Miller's avatar David S. Miller

Merge bk://kernel.bkbits.net/wesolows/sparc32-2.6

into nuts.davemloft.net:/disk1/BK/sparc-2.6
parents 5e2e0e24 6b71ca94
...@@ -12,7 +12,7 @@ int fixup_exception(struct pt_regs *regs) ...@@ -12,7 +12,7 @@ int fixup_exception(struct pt_regs *regs)
const struct exception_table_entry *fixup; const struct exception_table_entry *fixup;
#ifdef CONFIG_PNPBIOS #ifdef CONFIG_PNPBIOS
if (unlikely((regs->xcs | 8) == 0x88)) /* 0x80 or 0x88 */ if (unlikely((regs->xcs & ~15) == (GDT_ENTRY_PNPBIOS_BASE << 3)))
{ {
extern u32 pnp_bios_fault_eip, pnp_bios_fault_esp; extern u32 pnp_bios_fault_eip, pnp_bios_fault_esp;
extern u32 pnp_bios_is_utter_crap; extern u32 pnp_bios_is_utter_crap;
...@@ -21,7 +21,7 @@ int fixup_exception(struct pt_regs *regs) ...@@ -21,7 +21,7 @@ int fixup_exception(struct pt_regs *regs)
__asm__ volatile( __asm__ volatile(
"movl %0, %%esp\n\t" "movl %0, %%esp\n\t"
"jmp *%1\n\t" "jmp *%1\n\t"
: "=a" (pnp_bios_fault_esp), "=b" (pnp_bios_fault_eip)); : : "g" (pnp_bios_fault_esp), "g" (pnp_bios_fault_eip));
panic("do_trap: can't hit this"); panic("do_trap: can't hit this");
} }
#endif #endif
......
...@@ -411,7 +411,7 @@ static unsigned short risc_code_addr01 = 0x1000 ; ...@@ -411,7 +411,7 @@ static unsigned short risc_code_addr01 = 0x1000 ;
if that mbox should be copied as input. For example 0x2 would mean if that mbox should be copied as input. For example 0x2 would mean
only copy mbox1. */ only copy mbox1. */
const u_char mbox_param[] = static const u_char mbox_param[] =
{ {
0x01, /* MBOX_NO_OP */ 0x01, /* MBOX_NO_OP */
0x1f, /* MBOX_LOAD_RAM */ 0x1f, /* MBOX_LOAD_RAM */
......
...@@ -54,7 +54,7 @@ static int qptis_running = 0; ...@@ -54,7 +54,7 @@ static int qptis_running = 0;
#define PACKB(a, b) (((a)<<4)|(b)) #define PACKB(a, b) (((a)<<4)|(b))
const u_char mbox_param[] = { static const u_char mbox_param[] = {
PACKB(1, 1), /* MBOX_NO_OP */ PACKB(1, 1), /* MBOX_NO_OP */
PACKB(5, 5), /* MBOX_LOAD_RAM */ PACKB(5, 5), /* MBOX_LOAD_RAM */
PACKB(2, 0), /* MBOX_EXEC_FIRMWARE */ PACKB(2, 0), /* MBOX_EXEC_FIRMWARE */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment