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 !" -+-