Messages in this thread Patch in this message | | | Date | Thu, 16 Aug 2007 16:39:31 -0700 | From | Kevin Hilman <> | Subject | [PATCH 2.6.23-rc2-rt2] misc. compile fixes for UP builds |
| |
Signed-off-by: Kevin Hilman <khilman@mvista.com> --- include/linux/percpu_list.h | 2 +- include/linux/smp.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
Index: dev/include/linux/percpu_list.h =================================================================== --- dev.orig/include/linux/percpu_list.h +++ dev/include/linux/percpu_list.h @@ -84,7 +84,7 @@ void percpu_list_fold(struct percpu_list struct percpu_list { struct lock_list_head list; -} +}; static inline void percpu_list_init(struct percpu_list *pcl) Index: dev/include/linux/smp.h =================================================================== --- dev.orig/include/linux/smp.h +++ dev/include/linux/smp.h @@ -7,6 +7,7 @@ */ #include <linux/errno.h> +#include <linux/cpumask.h> extern void cpu_idle(void); @@ -116,7 +117,7 @@ static inline int up_smp_call_function(v }) static inline void smp_send_reschedule(int cpu) { } static inline void smp_send_reschedule_allbutself(void) { } -static inline void smp_send_reschedule_allbutself_cpumask(cpumask_t) { } +static inline void smp_send_reschedule_allbutself_cpumask(cpumask_t mask) { } #define num_booting_cpus() 1 #define smp_prepare_boot_cpu() do {} while (0) #define smp_call_function_single(cpuid, func, info, retry, wait) \ -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |