Skip to contentSkip to conversation

powerpc: remove unused __page_aligned definition.

PATCH New Tim Abbott 1 participant 1 message Oct 13, 2009 PowerPC

lore
Share & tools
lore

Tim Abbott

author
#0 lore raw

PATCH v2 1/1 powerpc: remove unused __page_aligned definition.

[This is a resend of this patch with the right subject line]

There is already an architecture-independent __page_aligned_data macro for this purpose, so removing the powerpc-specific macro should be harmless.

Cc Benjamin Herrenschmidt <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 arch/powerpc/include/asm/page_64.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
arch/powerpc/include/asm/page_64.h +0 -8
index 3f17b83..3c7118f 100644
@@ -162,14 +162,6 @@ do {						\
 
 #endif /* !CONFIG_HUGETLB_PAGE */
 
-#ifdef MODULE
-#define __page_aligned __attribute__((__aligned__(PAGE_SIZE)))
-#else
-#define __page_aligned \
-	__attribute__((__aligned__(PAGE_SIZE), \
-		__section__(".data.page_aligned")))
-#endif
-
 #define VM_DATA_DEFAULT_FLAGS \
 	(test_thread_flag(TIF_32BIT) ? \
 	 VM_DATA_DEFAULT_FLAGS32 : VM_DATA_DEFAULT_FLAGS64)
Signature · 1 line
1.6.4.3