powerpc: remove unused __page_aligned definition.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Tuesday, June 1, 2010 - 9:59 am

Gitweb:     http://git.kernel.org/linus/5f547f51a2205d18a507b88756e6988639db5f25
Commit:     5f547f51a2205d18a507b88756e6988639db5f25
Parent:     2af7687f1ad2c4571b9835f9bb2e3db9a738d258
Author:     Tim Abbott <tabbott@ksplice.com>
AuthorDate: Sat Feb 20 01:03:36 2010 +0100
Committer:  Michal Marek <mmarek@suse.cz>
CommitDate: Wed Mar 3 11:25:58 2010 +0100

    powerpc: remove unused __page_aligned definition.
    
    There is already an architecture-independent __page_aligned_data macro
    for this purpose, so removing the powerpc-specific macro should be
    harmless.
    
    Signed-off-by: Tim Abbott <tabbott@ksplice.com>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Sam Ravnborg <sam@ravnborg.org>
    Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
---
 arch/powerpc/include/asm/page_64.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/arch/powerpc/include/asm/page_64.h b/arch/powerpc/include/asm/page_64.h
index bfc4e02..358ff14 100644
--- a/arch/powerpc/include/asm/page_64.h
+++ b/arch/powerpc/include/asm/page_64.h
@@ -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)
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
powerpc: remove unused __page_aligned definition., Linux Kernel Mailing ..., (Tue Jun 1, 9:59 am)