[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 25/66] i386/i386/mp_desc.c: remove dead assignment
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 25/66] i386/i386/mp_desc.c: remove dead assignment |
Date: |
Sun, 8 Dec 2013 23:58:40 +0900 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Marin Ramesa, le Thu 05 Dec 2013 22:03:19 +0100, a écrit :
> * i386/i386/mp_desc.c (mp_desc_table): Remove variable.
> (mp_desc_table): Remove dead assignment.
> * i386/i386/mp_desc.h (mp_desc_table): Remove declaration.
Probably useful for debugging too.
> ---
> i386/i386/mp_desc.c | 6 ------
> i386/i386/mp_desc.h | 5 -----
> 2 files changed, 11 deletions(-)
>
> diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
> index 5ede8f1..4a13ac9 100644
> --- a/i386/i386/mp_desc.c
> +++ b/i386/i386/mp_desc.c
> @@ -74,11 +74,6 @@ char eintstack[]; /* top */
> */
>
> /*
> - * Allocated descriptor tables.
> - */
> -struct mp_desc_table *mp_desc_table[NCPUS] = { 0 };
> -
> -/*
> * Pointer to TSS for access in load_context.
> */
> struct task_tss *mp_ktss[NCPUS] = { 0 };
> @@ -121,7 +116,6 @@ mp_desc_init(mycpu)
> */
> mpt = (struct mp_desc_table *) interrupt_stack[mycpu];
>
> - mp_desc_table[mycpu] = mpt;
> mp_ktss[mycpu] = &mpt->ktss;
> mp_gdt[mycpu] = mpt->gdt;
>
> diff --git a/i386/i386/mp_desc.h b/i386/i386/mp_desc.h
> index 03d7194..cb1e9a7 100644
> --- a/i386/i386/mp_desc.h
> +++ b/i386/i386/mp_desc.h
> @@ -56,11 +56,6 @@ struct mp_desc_table {
> };
>
> /*
> - * They are pointed to by a per-processor array.
> - */
> -extern struct mp_desc_table *mp_desc_table[NCPUS];
> -
> -/*
> * The kernel TSS gets its own pointer.
> */
> extern struct task_tss *mp_ktss[NCPUS];
> --
> 1.8.1.4
>
>
--
Samuel
> Voici mon problème, j'ai deux PCs relies par des cartes ethernet,
> configures avec le protocole PPP.
-+- Romain in Guide du linuxien pervers - "Ils sont fous ces romains !" -+-
- [PATCH 20/66] i386/i386/db_interface.c: remove dead assignment, (continued)
- [PATCH 20/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 22/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 21/66] i386/i386/db_interface.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 24/66] i386/i386/mp_desc.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 23/66] i386/i386/ipl.h: remove ifdef and add ifndef, Marin Ramesa, 2013/12/05
- [PATCH 26/66] i386/i386/pic.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 25/66] i386/i386/mp_desc.c: remove dead assignment, Marin Ramesa, 2013/12/05
- Re: [PATCH 25/66] i386/i386/mp_desc.c: remove dead assignment,
Samuel Thibault <=
- [PATCH 27/66] i386/i386/pit.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 29/66] i386/i386/trap.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 28/66] i386/i386/trap.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 30/66] i386/i386/user_ldt.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 31/66] i386/i386at/com.c: simplify code, Marin Ramesa, 2013/12/05
- [PATCH 32/66] i386/i386at/com.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 33/66] i386/i386at/immc.c, kd.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 34/66] i386/i386at/model_dep.c, kd.c: use boolean instead of an int, Marin Ramesa, 2013/12/05