Commit b7b75b49 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] Export __per_cpu_offset so modules can use per-cpu data.

As per Andrew Morton's request.
parent ed44a565
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
#include <linux/namei.h> #include <linux/namei.h>
#include <linux/buffer_head.h> #include <linux/buffer_head.h>
#include <linux/root_dev.h> #include <linux/root_dev.h>
#include <linux/percpu.h>
#include <asm/checksum.h> #include <asm/checksum.h>
#if defined(CONFIG_PROC_FS) #if defined(CONFIG_PROC_FS)
...@@ -598,3 +599,6 @@ EXPORT_SYMBOL(init_thread_union); ...@@ -598,3 +599,6 @@ EXPORT_SYMBOL(init_thread_union);
EXPORT_SYMBOL(tasklist_lock); EXPORT_SYMBOL(tasklist_lock);
EXPORT_SYMBOL(pidhash); EXPORT_SYMBOL(pidhash);
#if defined(CONFIG_SMP) && defined(__GENERIC_PER_CPU)
EXPORT_SYMBOL(__per_cpu_offset);
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment