1 Index: linux+rh+chaos/kernel/sched.c
2 ===================================================================
3 --- linux+rh+chaos.orig/kernel/sched.c
4 +++ linux+rh+chaos/kernel/sched.c
5 @@ -1034,10 +1034,11 @@ static inline void resched_task(struct t
6 * task_curr - is this task currently executing on a CPU?
7 * @p: the task in question.
9 -inline int task_curr(const struct task_struct *p)
10 +int task_curr(const struct task_struct *p)
12 return cpu_curr(task_cpu(p)) == p;
14 +EXPORT_SYMBOL(task_curr); /* Request export upstream */
16 /* Used instead of source_load when we know the type == 0 */
17 unsigned long weighted_cpuload(const int cpu)
18 Index: linux+rh+chaos/kernel/time.c
19 ===================================================================
20 --- linux+rh+chaos.orig/kernel/time.c
21 +++ linux+rh+chaos/kernel/time.c
22 @@ -605,6 +605,7 @@ void set_normalized_timespec(struct time
26 +EXPORT_SYMBOL(set_normalized_timespec); /* Exported as of 2.6.26 */
29 * ns_to_timespec - Convert nanoseconds to timespec
30 Index: linux+rh+chaos/kernel/kallsyms.c
31 ===================================================================
32 --- linux+rh+chaos.orig/kernel/kallsyms.c
33 +++ linux+rh+chaos/kernel/kallsyms.c
34 @@ -154,6 +154,7 @@ unsigned long kallsyms_lookup_name(const
36 return module_kallsyms_lookup_name(name);
38 +EXPORT_SYMBOL(kallsyms_lookup_name); /* Exported prior to 2.6.19 */
42 Index: linux+rh+chaos/fs/proc/mmu.c
43 ===================================================================
44 --- linux+rh+chaos.orig/fs/proc/mmu.c
45 +++ linux+rh+chaos/fs/proc/mmu.c
46 @@ -75,3 +75,4 @@ void get_vmalloc_info(struct vmalloc_inf
47 read_unlock(&vmlist_lock);
50 +EXPORT_SYMBOL(get_vmalloc_info); /* Request clean upstream API for this */
51 Index: linux+rh+chaos/mm/mmzone.c
52 ===================================================================
53 --- linux+rh+chaos.orig/mm/mmzone.c
54 +++ linux+rh+chaos/mm/mmzone.c
55 @@ -14,7 +14,7 @@ struct pglist_data *first_online_pgdat(v
56 return NODE_DATA(first_online_node);
59 -EXPORT_UNUSED_SYMBOL(first_online_pgdat); /* June 2006 */
60 +EXPORT_SYMBOL(first_online_pgdat); /* Exported prior to 2.6.18 */
62 struct pglist_data *next_online_pgdat(struct pglist_data *pgdat)
64 @@ -24,7 +24,7 @@ struct pglist_data *next_online_pgdat(st
66 return NODE_DATA(nid);
68 -EXPORT_UNUSED_SYMBOL(next_online_pgdat); /* June 2006 */
69 +EXPORT_SYMBOL(next_online_pgdat); /* Exported prior to 2.6.18 */
73 @@ -45,5 +45,5 @@ struct zone *next_zone(struct zone *zone
77 -EXPORT_UNUSED_SYMBOL(next_zone); /* June 2006 */
78 +EXPORT_SYMBOL(next_zone); /* Exported prior to 2.6.18 */
80 Index: linux+rh+chaos/mm/vmstat.c
81 ===================================================================
82 --- linux+rh+chaos.orig/mm/vmstat.c
83 +++ linux+rh+chaos/mm/vmstat.c
84 @@ -45,6 +45,7 @@ void get_zone_counts(unsigned long *acti
88 +EXPORT_SYMBOL(get_zone_counts); /* Request clean upstream API for this */
90 #ifdef CONFIG_VM_EVENT_COUNTERS
91 DEFINE_PER_CPU(struct vm_event_state, vm_event_states) = {{0}};