[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 66/66] kern/processor.h: remove ifdef
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 66/66] kern/processor.h: remove ifdef |
Date: |
Mon, 9 Dec 2013 00:28:20 +0900 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Marin Ramesa, le Thu 05 Dec 2013 22:04:00 +0100, a écrit :
> This code is used even if KERNEL is not defined. Remove
> the ifdef.
Ditto.
> * kern/processor.h [KERNEL]: Remove ifdef.
>
> ---
> kern/processor.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/kern/processor.h b/kern/processor.h
> index 7bd29cf..2000192 100644
> --- a/kern/processor.h
> +++ b/kern/processor.h
> @@ -235,7 +235,6 @@ typedef mach_port_t *processor_set_name_array_t;
>
> /* Initialization */
>
> -#ifdef KERNEL
> #if MACH_HOST
> extern void pset_sys_init(void);
> #endif /* MACH_HOST */
> @@ -318,7 +317,6 @@ extern kern_return_t processor_set_threads(
> processor_set_t pset,
> thread_array_t *thread_list,
> natural_t *count);
> -#endif
>
> void processor_doaction(processor_t processor);
>
> --
> 1.8.1.4
>
>
--
Samuel
<S> KK1 a 1 conseil de comment s'attaquer a du code java ou ya plus de 50
classes ? par kel bout ?
<B> le troisième
-+- #ens-mim en stage -+-
- [PATCH 59/66] kern/priority.c: update comment, (continued)
- [PATCH 59/66] kern/priority.c: update comment, Marin Ramesa, 2013/12/05
- [PATCH 60/66] kern/rbtree.h: remove unnecessary include, Marin Ramesa, 2013/12/05
- [PATCH 64/66] Cleanup of the prototypes, Marin Ramesa, 2013/12/05
- [PATCH 65/66] kern/act.h: remove unnecessary include, Marin Ramesa, 2013/12/05
- [PATCH 63/66] vm/vm_page.h: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 36/66] i386/i386at/kd.c: simplify code, Marin Ramesa, 2013/12/05
- [PATCH 62/66] kern/syscall_sw.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 38/66] i386/i386at/kd.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 66/66] kern/processor.h: remove ifdef, Marin Ramesa, 2013/12/05
- Re: [PATCH 66/66] kern/processor.h: remove ifdef,
Samuel Thibault <=
- [PATCH 37/66] i386/i386at/kd.c: simplify code, Marin Ramesa, 2013/12/05
- [PATCH 39/66] i386/i386at/kd.c: use boolean instead of an unsigned int, Marin Ramesa, 2013/12/05
- [PATCH 61/66] kern/refcount.h: remove unnecessary include, Marin Ramesa, 2013/12/05
- [PATCH 35/66] i386/i386at/kd.c: simplify code, Marin Ramesa, 2013/12/05