rpms/kernel/F-11 git-linus.diff,1.17.16.1,1.17.16.2
Chuck Ebbert
cebbert at fedoraproject.org
Thu Feb 4 15:28:06 UTC 2010
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30503
Modified Files:
Tag: private-fedora-11-2_6_30
git-linus.diff
Log Message:
remove leftover git-linus.diff
git-linus.diff:
0 files changed
Index: git-linus.diff
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-11/git-linus.diff,v
retrieving revision 1.17.16.1
retrieving revision 1.17.16.2
diff -u -p -r1.17.16.1 -r1.17.16.2
--- git-linus.diff 4 Feb 2010 15:22:03 -0000 1.17.16.1
+++ git-linus.diff 4 Feb 2010 15:28:03 -0000 1.17.16.2
@@ -1,78 +0,0 @@
-From: Andreas Schwab <schwab at linux-m68k.org>
-Date: Sat, 30 Jan 2010 10:20:59 +0000 (+0000)
-Subject: powerpc: TIF_ABI_PENDING bit removal
-X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=94f28da8409c6059135e89ac64a0839993124155
-
-powerpc: TIF_ABI_PENDING bit removal
-
-Here are the powerpc bits to remove TIF_ABI_PENDING now that
-set_personality() is called at the appropriate place in exec.
-
-Signed-off-by: Andreas Schwab <schwab at linux-m68k.org>
-Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
----
-
-diff --git a/arch/powerpc/include/asm/elf.h b/arch/powerpc/include/asm/elf.h
-index 17828ad..c376eda 100644
---- a/arch/powerpc/include/asm/elf.h
-+++ b/arch/powerpc/include/asm/elf.h
-@@ -235,14 +235,10 @@ typedef elf_vrregset_t elf_fpxregset_t;
- #ifdef __powerpc64__
- # define SET_PERSONALITY(ex) \
- do { \
-- unsigned long new_flags = 0; \
- if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \
-- new_flags = _TIF_32BIT; \
-- if ((current_thread_info()->flags & _TIF_32BIT) \
-- != new_flags) \
-- set_thread_flag(TIF_ABI_PENDING); \
-+ set_thread_flag(TIF_32BIT); \
- else \
-- clear_thread_flag(TIF_ABI_PENDING); \
-+ clear_thread_flag(TIF_32BIT); \
- if (personality(current->personality) != PER_LINUX32) \
- set_personality(PER_LINUX | \
- (current->personality & (~PER_MASK))); \
-diff --git a/arch/powerpc/include/asm/thread_info.h b/arch/powerpc/include/asm/thread_info.h
-index c8b3292..aa9d383 100644
---- a/arch/powerpc/include/asm/thread_info.h
-+++ b/arch/powerpc/include/asm/thread_info.h
-@@ -111,7 +111,6 @@ static inline struct thread_info *current_thread_info(void)
- #define TIF_NOTIFY_RESUME 13 /* callback before returning to user */
- #define TIF_FREEZE 14 /* Freezing for suspend */
- #define TIF_RUNLATCH 15 /* Is the runlatch enabled? */
--#define TIF_ABI_PENDING 16 /* 32/64 bit switch needed */
-
- /* as above, but as bit values */
- #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)
-@@ -129,7 +128,6 @@ static inline struct thread_info *current_thread_info(void)
- #define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
- #define _TIF_FREEZE (1<<TIF_FREEZE)
- #define _TIF_RUNLATCH (1<<TIF_RUNLATCH)
--#define _TIF_ABI_PENDING (1<<TIF_ABI_PENDING)
- #define _TIF_SYSCALL_T_OR_A (_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT|_TIF_SECCOMP)
-
- #define _TIF_USER_WORK_MASK (_TIF_SIGPENDING | _TIF_NEED_RESCHED | \
-diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
-index c930ac3..7b816da 100644
---- a/arch/powerpc/kernel/process.c
-+++ b/arch/powerpc/kernel/process.c
-@@ -554,18 +554,6 @@ void exit_thread(void)
-
- void flush_thread(void)
- {
--#ifdef CONFIG_PPC64
-- struct thread_info *t = current_thread_info();
--
-- if (test_ti_thread_flag(t, TIF_ABI_PENDING)) {
-- clear_ti_thread_flag(t, TIF_ABI_PENDING);
-- if (test_ti_thread_flag(t, TIF_32BIT))
-- clear_ti_thread_flag(t, TIF_32BIT);
-- else
-- set_ti_thread_flag(t, TIF_32BIT);
-- }
--#endif
--
- discard_lazy_cpu_state();
-
- if (current->thread.dabr) {
More information about the scm-commits
mailing list