aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r--include/asm-powerpc/elf.h1
-rw-r--r--include/asm-powerpc/system.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/elf.h b/include/asm-powerpc/elf.h
index 8925c2813667..6bd07ef78ac4 100644
--- a/include/asm-powerpc/elf.h
+++ b/include/asm-powerpc/elf.h
@@ -291,6 +291,7 @@ extern int arch_setup_additional_pages(struct linux_binprm *bprm,
291 * AT_IGNOREPPC is used for that. 291 * AT_IGNOREPPC is used for that.
292 * - for compatibility with glibc ARCH_DLINFO must always be defined on PPC, 292 * - for compatibility with glibc ARCH_DLINFO must always be defined on PPC,
293 * even if DLINFO_ARCH_ITEMS goes to zero or is undefined. 293 * even if DLINFO_ARCH_ITEMS goes to zero or is undefined.
294 * update AT_VECTOR_SIZE_ARCH if the number of NEW_AUX_ENT entries changes
294 */ 295 */
295#define ARCH_DLINFO \ 296#define ARCH_DLINFO \
296do { \ 297do { \
diff --git a/include/asm-powerpc/system.h b/include/asm-powerpc/system.h
index d10e99bf5001..87be8c3bc9cb 100644
--- a/include/asm-powerpc/system.h
+++ b/include/asm-powerpc/system.h
@@ -40,6 +40,7 @@
40#define set_mb(var, value) do { var = value; mb(); } while (0) 40#define set_mb(var, value) do { var = value; mb(); } while (0)
41 41
42#ifdef __KERNEL__ 42#ifdef __KERNEL__
43#define AT_VECTOR_SIZE_ARCH 6 /* entries in ARCH_DLINFO */
43#ifdef CONFIG_SMP 44#ifdef CONFIG_SMP
44#define smp_mb() mb() 45#define smp_mb() mb()
45#define smp_rmb() rmb() 46#define smp_rmb() rmb()