cpsid aif /* Disable all interrupts */
/* Save the bootloader arguments in less-clobberable registers */
- mov r7, r1 /* r7 := ARM-linux machine type */
+ /* No need to save r1 == Unused ARM-linux machine type */
mov r8, r2 /* r8 := ATAG base address */
/* Find out where we are */
add sp, #STACK_SIZE /* (which grows down from the top). */
sub sp, #CPUINFO_sizeof /* Make room for CPU save record */
mov r0, r10 /* Marshal args: - phys_offset */
- mov r1, r7 /* - machine type */
- mov r2, r8 /* - ATAG address */
- movs r3, r12 /* - CPU ID */
+ mov r1, r8 /* - ATAG address */
+ movs r2, r12 /* - CPU ID */
beq start_xen /* and disappear into the land of C */
b start_secondary /* (to the appropriate entry point) */
/* C entry point for boot CPU */
void __init start_xen(unsigned long boot_phys_offset,
- unsigned long arm_type,
unsigned long atag_paddr,
unsigned long cpuid)
{
/* Boot the current CPU */
void __cpuinit start_secondary(unsigned long boot_phys_offset,
- unsigned long arm_type,
unsigned long atag_paddr,
unsigned long cpuid)
{