Merge branch 'linus' into cont_syslog
[safe/jmp/linux-2.6] / include / linux / percpu-defs.h
index 1fa36eb..ce2dc65 100644 (file)
@@ -24,7 +24,7 @@
  * input parameter is a percpu pointer.
  */
 #define __verify_pcpu_ptr(ptr) do {                                    \
-       void __percpu *__vpp_verify = (typeof(ptr))NULL;                \
+       const void __percpu *__vpp_verify = (typeof(ptr))NULL;          \
        (void)__vpp_verify;                                             \
 } while (0)
 
  * Declaration/definition used for per-CPU variables that must be page aligned.
  */
 #define DECLARE_PER_CPU_PAGE_ALIGNED(type, name)                       \
-       DECLARE_PER_CPU_SECTION(type, name, ".page_aligned")            \
+       DECLARE_PER_CPU_SECTION(type, name, "..page_aligned")           \
        __aligned(PAGE_SIZE)
 
 #define DEFINE_PER_CPU_PAGE_ALIGNED(type, name)                                \
-       DEFINE_PER_CPU_SECTION(type, name, ".page_aligned")             \
+       DEFINE_PER_CPU_SECTION(type, name, "..page_aligned")            \
        __aligned(PAGE_SIZE)
 
 /*