|
@@ -91,8 +91,7 @@
|
|
|
extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
|
|
|
__PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
|
|
|
extern __PCPU_ATTRS(sec) __typeof__(type) name; \
|
|
|
- __PCPU_ATTRS(sec) PER_CPU_DEF_ATTRIBUTES __weak \
|
|
|
- __typeof__(type) name
|
|
|
+ __PCPU_ATTRS(sec) __weak __typeof__(type) name
|
|
|
#else
|
|
|
/*
|
|
|
* Normal declaration and definition macros.
|
|
@@ -101,8 +100,7 @@
|
|
|
extern __PCPU_ATTRS(sec) __typeof__(type) name
|
|
|
|
|
|
#define DEFINE_PER_CPU_SECTION(type, name, sec) \
|
|
|
- __PCPU_ATTRS(sec) PER_CPU_DEF_ATTRIBUTES \
|
|
|
- __typeof__(type) name
|
|
|
+ __PCPU_ATTRS(sec) __typeof__(type) name
|
|
|
#endif
|
|
|
|
|
|
/*
|