Signed-off-by: Kevin Hilman <[email protected]>
---
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) \
--