Message ID | 20171207171911.9504-1-julien.grall@linaro.org |
---|---|
State | Accepted |
Commit | d81a43fad35820fff73cada44fce2abbcb0a8930 |
Headers | show |
Series | [Xen-devel] xen/arm: Remove unused fixmap slots | expand |
On Thu, 7 Dec 2017, Julien Grall wrote: > There are quite a few fixmap slots that have not been used for a while. > Remove them. > > Signed-off-by: Julien Grall <julien.grall@linaro.org> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> > --- > xen/include/asm-arm/config.h | 9 ++------- > 1 file changed, 2 insertions(+), 7 deletions(-) > > diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h > index 45f472f2fd..cdae8f64ff 100644 > --- a/xen/include/asm-arm/config.h > +++ b/xen/include/asm-arm/config.h > @@ -172,13 +172,8 @@ > > /* Fixmap slots */ > #define FIXMAP_CONSOLE 0 /* The primary UART */ > -#define FIXMAP_PT 1 /* Temporary mappings of pagetable pages */ > -#define FIXMAP_MISC 2 /* Ephemeral mappings of hardware */ > -#define FIXMAP_GICD 3 /* Interrupt controller: distributor registers */ > -#define FIXMAP_GICC1 4 /* Interrupt controller: CPU registers (first page) */ > -#define FIXMAP_GICC2 5 /* Interrupt controller: CPU registers (second page) */ > -#define FIXMAP_GICH 6 /* Interrupt controller: virtual interface control registers */ > -#define FIXMAP_ACPI_BEGIN 7 /* Start mappings of ACPI tables */ > +#define FIXMAP_MISC 1 /* Ephemeral mappings of hardware */ > +#define FIXMAP_ACPI_BEGIN 2 /* Start mappings of ACPI tables */ > #define FIXMAP_ACPI_END (FIXMAP_ACPI_BEGIN + NUM_FIXMAP_ACPI_PAGES - 1) /* End mappings of ACPI tables */ > > #define PAGE_SHIFT 12 > -- > 2.11.0 >
diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h index 45f472f2fd..cdae8f64ff 100644 --- a/xen/include/asm-arm/config.h +++ b/xen/include/asm-arm/config.h @@ -172,13 +172,8 @@ /* Fixmap slots */ #define FIXMAP_CONSOLE 0 /* The primary UART */ -#define FIXMAP_PT 1 /* Temporary mappings of pagetable pages */ -#define FIXMAP_MISC 2 /* Ephemeral mappings of hardware */ -#define FIXMAP_GICD 3 /* Interrupt controller: distributor registers */ -#define FIXMAP_GICC1 4 /* Interrupt controller: CPU registers (first page) */ -#define FIXMAP_GICC2 5 /* Interrupt controller: CPU registers (second page) */ -#define FIXMAP_GICH 6 /* Interrupt controller: virtual interface control registers */ -#define FIXMAP_ACPI_BEGIN 7 /* Start mappings of ACPI tables */ +#define FIXMAP_MISC 1 /* Ephemeral mappings of hardware */ +#define FIXMAP_ACPI_BEGIN 2 /* Start mappings of ACPI tables */ #define FIXMAP_ACPI_END (FIXMAP_ACPI_BEGIN + NUM_FIXMAP_ACPI_PAGES - 1) /* End mappings of ACPI tables */ #define PAGE_SHIFT 12
There are quite a few fixmap slots that have not been used for a while. Remove them. Signed-off-by: Julien Grall <julien.grall@linaro.org> --- xen/include/asm-arm/config.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)