]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
xen/arm: Remove parameter cpuid from start_xen
authorJulien Grall <julien.grall@arm.com>
Thu, 11 Apr 2019 20:35:25 +0000 (21:35 +0100)
committerJulien Grall <julien.grall@arm.com>
Mon, 10 Jun 2019 13:07:09 +0000 (14:07 +0100)
The parameter cpuid is not used by start_xen. So remove it.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrii Anisov <andrii.anisov@epam.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/arm32/head.S
xen/arch/arm/arm64/head.S
xen/arch/arm/setup.c

index 396cbc89c3bad42fffecd8bfd9096ff93ef712c1..bf609da285377e0dfac3cce5daf81590782355a5 100644 (file)
@@ -449,7 +449,6 @@ launch:
         sub   sp, #CPUINFO_sizeof    /* Make room for CPU save record */
         mov   r0, r10                /* Marshal args: - phys_offset */
         mov   r1, r8                 /*               - DTB address */
-        mov   r2, r7                 /*               - CPU ID */
         teq   r12, #0
         beq   start_xen              /* and disappear into the land of C */
         b     start_secondary        /* (to the appropriate entry point) */
index cf8823f225a2f7169b964878d552e34004fea4f4..74e28d658ffb4af3cf84c58e9dc5cd468f8a8ef4 100644 (file)
@@ -581,7 +581,6 @@ launch:
 
         mov   x0, x20                /* Marshal args: - phys_offset */
         mov   x1, x21                /*               - FDT */
-        mov   x2, x24                /*               - CPU ID */
         cbnz  x22, 1f
         b     start_xen              /* and disappear into the land of C */
 1:
index a635dfce59f0eaeb446a844eff293e9914dec8d9..5af49c7a08a1d3b9f376ae7948f61e3bd2697764 100644 (file)
@@ -728,8 +728,7 @@ size_t __read_mostly dcache_line_bytes;
 
 /* C entry point for boot CPU */
 void __init start_xen(unsigned long boot_phys_offset,
-                      unsigned long fdt_paddr,
-                      unsigned long cpuid)
+                      unsigned long fdt_paddr)
 {
     size_t fdt_size;
     int cpus, i;