[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 66/66] kern/processor.h: remove ifdef
From: |
Marin Ramesa |
Subject: |
[PATCH 66/66] kern/processor.h: remove ifdef |
Date: |
Thu, 5 Dec 2013 22:04:00 +0100 |
This code is used even if KERNEL is not defined. Remove
the ifdef.
* 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
- [PATCH 58/66] kern/pc_sample.c: remove unused variables, (continued)
- [PATCH 58/66] kern/pc_sample.c: remove unused variables, Marin Ramesa, 2013/12/05
- [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 <=
- [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