mptable: Refactor mptable generation some more
The last couple of lines of every mptable function were mostly identical. Refactor into common code, a new function mptable_finalize. Coccinelle script: @@ identifier mc; @@ ( -mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length); -mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length); -printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n", mc, smp_next_mpe_entry(mc)); -return smp_next_mpe_entry(mc); +return mptable_finalize(mc); | -mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length); -mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length); -return smp_next_mpe_entry(mc); +return mptable_finalize(mc); ) Change-Id: Ib2270d800bdd486c5eb49b328544d36bd2298c9e Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/246 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
This commit is contained in:
		
				
					committed by
					
						
						Stefan Reinauer
					
				
			
			
				
	
			
			
			
						parent
						
							c75c79bd02
						
					
				
				
					commit
					b0a9c5ccf3
				
			@@ -40,7 +40,7 @@ void mptable_init(struct mp_config_table *mc, u32 lapic_addr)
 | 
				
			|||||||
		mc->mpc_productid[i] = ' ';
 | 
							mc->mpc_productid[i] = ' ';
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned char smp_compute_checksum(void *v, int len)
 | 
					static unsigned char smp_compute_checksum(void *v, int len)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	unsigned char *bytes;
 | 
						unsigned char *bytes;
 | 
				
			||||||
	unsigned char checksum;
 | 
						unsigned char checksum;
 | 
				
			||||||
@@ -396,3 +396,10 @@ void mptable_write_buses(struct mp_config_table *mc, int *max_pci_bus, int *isa_
 | 
				
			|||||||
	smp_write_bus(mc, *isa_bus, "ISA   ");
 | 
						smp_write_bus(mc, *isa_bus, "ISA   ");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					void *mptable_finalize(struct mp_config_table *mc)
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
				
			||||||
 | 
						mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
				
			||||||
 | 
						printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n", mc, smp_next_mpe_entry(mc));
 | 
				
			||||||
 | 
						return smp_next_mpe_entry(mc);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -267,13 +267,13 @@ void smp_write_bus_hierarchy(struct mp_config_table *mc,
 | 
				
			|||||||
void smp_write_compatibility_address_space(struct mp_config_table *mc,
 | 
					void smp_write_compatibility_address_space(struct mp_config_table *mc,
 | 
				
			||||||
	unsigned char busid, unsigned char address_modifier,
 | 
						unsigned char busid, unsigned char address_modifier,
 | 
				
			||||||
	unsigned int range_list);
 | 
						unsigned int range_list);
 | 
				
			||||||
unsigned char smp_compute_checksum(void *v, int len);
 | 
					 | 
				
			||||||
void *smp_write_floating_table(unsigned long addr, unsigned int virtualwire);
 | 
					void *smp_write_floating_table(unsigned long addr, unsigned int virtualwire);
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr);
 | 
					unsigned long write_smp_table(unsigned long addr);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void mptable_lintsrc(struct mp_config_table *mc, unsigned long bus_isa);
 | 
					void mptable_lintsrc(struct mp_config_table *mc, unsigned long bus_isa);
 | 
				
			||||||
void mptable_add_isa_interrupts(struct mp_config_table *mc, unsigned long bus_isa, unsigned long apicid, int external);
 | 
					void mptable_add_isa_interrupts(struct mp_config_table *mc, unsigned long bus_isa, unsigned long apicid, int external);
 | 
				
			||||||
void mptable_write_buses(struct mp_config_table *mc, int *max_pci_bus, int *isa_bus);
 | 
					void mptable_write_buses(struct mp_config_table *mc, int *max_pci_bus, int *isa_bus);
 | 
				
			||||||
 | 
					void *mptable_finalize(struct mp_config_table *mc);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -140,12 +140,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -144,12 +144,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -154,12 +154,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -229,12 +229,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
  /* There is no extension information... */
 | 
					  /* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /* Compute the checksums */
 | 
					  /* Compute the checksums */
 | 
				
			||||||
  mc->mpe_checksum =
 | 
					  return mptable_finalize(mc);
 | 
				
			||||||
      smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
  mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
  printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
         mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
  return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -161,12 +161,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -160,12 +160,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -147,12 +147,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
  /* There is no extension information... */
 | 
					  /* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /* Compute the checksums */
 | 
					  /* Compute the checksums */
 | 
				
			||||||
  mc->mpe_checksum =
 | 
					  return mptable_finalize(mc);
 | 
				
			||||||
      smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
  mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
  printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
         mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
  return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -154,12 +154,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -159,11 +159,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -183,11 +183,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -160,12 +160,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -236,12 +236,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
  /* There is no extension information... */
 | 
					  /* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /* Compute the checksums */
 | 
					  /* Compute the checksums */
 | 
				
			||||||
  mc->mpe_checksum =
 | 
					  return mptable_finalize(mc);
 | 
				
			||||||
      smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
  mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
  printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
         mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
  return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -248,11 +248,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void reboot_if_hotswap(void)
 | 
					static void reboot_if_hotswap(void)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -159,12 +159,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -147,12 +147,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
  /* There is no extension information... */
 | 
					  /* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /* Compute the checksums */
 | 
					  /* Compute the checksums */
 | 
				
			||||||
  mc->mpe_checksum =
 | 
					  return mptable_finalize(mc);
 | 
				
			||||||
      smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
  mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
  printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
         mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
  return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -113,12 +113,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums. */
 | 
						/* Compute the checksums. */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -105,11 +105,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums. */
 | 
						/* Compute the checksums. */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc),
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
						mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -105,11 +105,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums. */
 | 
						/* Compute the checksums. */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc),
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
						mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -94,12 +94,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	mptable_lintsrc(mc, bus_isa);
 | 
						mptable_lintsrc(mc, bus_isa);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums. */
 | 
						/* Compute the checksums. */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -136,11 +136,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums. */
 | 
						/* Compute the checksums. */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc),
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
						mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -160,12 +160,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -160,12 +160,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -52,12 +52,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	mptable_lintsrc(mc, isa_bus);
 | 
						mptable_lintsrc(mc, isa_bus);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums. */
 | 
						/* Compute the checksums. */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -53,12 +53,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	mptable_lintsrc(mc, 0x1);
 | 
						mptable_lintsrc(mc, 0x1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums. */
 | 
						/* Compute the checksums. */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -142,12 +142,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -134,11 +134,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -148,12 +148,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -74,12 +74,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	mptable_lintsrc(mc, isa_bus);
 | 
						mptable_lintsrc(mc, isa_bus);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n", mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -108,11 +108,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -114,11 +114,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -160,12 +160,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -160,12 +160,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -87,11 +87,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -179,11 +179,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -157,11 +157,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -122,12 +122,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	mptable_lintsrc(mc, isa_bus);
 | 
						mptable_lintsrc(mc, isa_bus);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n", mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -120,11 +120,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -119,11 +119,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -160,12 +160,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -79,12 +79,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	mptable_lintsrc(mc, isa_bus);
 | 
						mptable_lintsrc(mc, isa_bus);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n", mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -219,11 +219,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -227,12 +227,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -100,12 +100,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -128,12 +128,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -131,11 +131,7 @@ static void *smp_write_config_table(void* v)
 | 
				
			|||||||
	xe7501devkit_register_interrupts(mc);
 | 
						xe7501devkit_register_interrupts(mc);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n", mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -94,11 +94,7 @@ void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -171,11 +171,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -153,11 +153,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -153,11 +153,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -161,12 +161,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -105,12 +105,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	mptable_lintsrc(mc, isa_bus);
 | 
						mptable_lintsrc(mc, isa_bus);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n", mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -153,12 +153,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -67,12 +67,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	smp_write_lintsrc(mc, mp_ExtINT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_HIGH, isa_bus, 0, MP_APIC_ALL, 0);
 | 
						smp_write_lintsrc(mc, mp_ExtINT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_HIGH, isa_bus, 0, MP_APIC_ALL, 0);
 | 
				
			||||||
	smp_write_lintsrc(mc, mp_NMI,    MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_HIGH, isa_bus, 0, MP_APIC_ALL, 1);
 | 
						smp_write_lintsrc(mc, mp_NMI,    MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_HIGH, isa_bus, 0, MP_APIC_ALL, 1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n", mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -69,12 +69,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	smp_write_lintsrc(mc, mp_ExtINT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_HIGH, isa_bus, 0, MP_APIC_ALL, 0);
 | 
						smp_write_lintsrc(mc, mp_ExtINT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_HIGH, isa_bus, 0, MP_APIC_ALL, 0);
 | 
				
			||||||
	smp_write_lintsrc(mc, mp_NMI,    MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_HIGH, isa_bus, 0, MP_APIC_ALL, 1);
 | 
						smp_write_lintsrc(mc, mp_NMI,    MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_HIGH, isa_bus, 0, MP_APIC_ALL, 1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n", mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -149,12 +149,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -99,12 +99,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums. */
 | 
						/* Compute the checksums. */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -150,11 +150,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
       /* There is no extension information... */
 | 
					       /* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       /* Compute the checksums */
 | 
					       /* Compute the checksums */
 | 
				
			||||||
       mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					       return mptable_finalize(mc);
 | 
				
			||||||
       mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
       printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
               mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
       return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -119,11 +119,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
       /* There is no extension information... */
 | 
					       /* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       /* Compute the checksums */
 | 
					       /* Compute the checksums */
 | 
				
			||||||
       mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					       return mptable_finalize(mc);
 | 
				
			||||||
       mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
       printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
               mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
       return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -108,11 +108,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -154,11 +154,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -165,11 +165,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -74,12 +74,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	mptable_lintsrc(mc, isa_bus);
 | 
						mptable_lintsrc(mc, isa_bus);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n", mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -68,12 +68,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	mptable_lintsrc(mc, bus_isa);
 | 
						mptable_lintsrc(mc, bus_isa);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -186,11 +186,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -121,11 +121,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -122,11 +122,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -108,11 +108,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -184,12 +184,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
		smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
			mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -106,11 +106,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -174,12 +174,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -77,12 +77,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -121,12 +121,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* FIXME verify I have the irqs handled for all of the risers */
 | 
						/* FIXME verify I have the irqs handled for all of the risers */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -122,12 +122,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* FIXME verify I have the irqs handled for all of the risers */
 | 
						/* FIXME verify I have the irqs handled for all of the risers */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -169,12 +169,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -157,12 +157,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -153,12 +153,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -153,12 +153,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -119,11 +119,7 @@ Compatibility Bus Address
 | 
				
			|||||||
 predefined range: 0x00000001	// There is no extension information...
 | 
					 predefined range: 0x00000001	// There is no extension information...
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -152,11 +152,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -169,11 +169,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -195,11 +195,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -98,11 +98,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -207,11 +207,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -110,11 +110,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -135,11 +135,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -157,11 +157,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -185,11 +185,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -106,11 +106,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -106,11 +106,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -201,11 +201,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -200,11 +200,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -39,11 +39,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -88,12 +88,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	/* There is no extension information... */
 | 
						/* There is no extension information... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum =
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	    smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
					 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n",
 | 
					 | 
				
			||||||
		     mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -58,10 +58,7 @@ static void *smp_write_config_table(void *v)
 | 
				
			|||||||
	mptable_lintsrc(mc, 0x0);
 | 
						mptable_lintsrc(mc, 0x0);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Compute the checksums */
 | 
						/* Compute the checksums */
 | 
				
			||||||
	mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);
 | 
						return mptable_finalize(mc);
 | 
				
			||||||
	mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);
 | 
					 | 
				
			||||||
	printk(BIOS_DEBUG, "Wrote the mp table end at: %p - %p\n", mc, smp_next_mpe_entry(mc));
 | 
					 | 
				
			||||||
	return smp_next_mpe_entry(mc);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned long write_smp_table(unsigned long addr)
 | 
					unsigned long write_smp_table(unsigned long addr)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user