Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00d1a39e authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

preempt: Make PREEMPT_ACTIVE generic



No point in having this bit defined by architecture.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20130917183629.090698799@linutronix.de
parent 9385d949
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -58,8 +58,6 @@ register struct thread_info *__current_thread_info __asm__("$8");
#define THREAD_SIZE_ORDER 1
#define THREAD_SIZE (2*PAGE_SIZE)

#define PREEMPT_ACTIVE		0x40000000

/*
 * Thread information flags:
 * - these are process state flags and used from assembly
+0 −2
Original line number Diff line number Diff line
@@ -80,8 +80,6 @@ static inline __attribute_const__ struct thread_info *current_thread_info(void)

#endif /* !__ASSEMBLY__ */

#define PREEMPT_ACTIVE      0x10000000

/*
 * thread information flags
 * - these are process state flags that various assembly files may need to
+0 −6
Original line number Diff line number Diff line
@@ -140,12 +140,6 @@ extern int vfp_restore_user_hwstate(struct user_vfp __user *,
				    struct user_vfp_exc __user *);
#endif

/*
 * We use bit 30 of the preempt_count to indicate that kernel
 * preemption is occurring.  See <asm/hardirq.h>.
 */
#define PREEMPT_ACTIVE	0x40000000

/*
 * thread information flags:
 *  TIF_SYSCALL_TRACE	- syscall trace active
+0 −6
Original line number Diff line number Diff line
@@ -88,12 +88,6 @@ static inline struct thread_info *current_thread_info(void)

#endif

/*
 * We use bit 30 of the preempt_count to indicate that kernel
 * preemption is occurring.  See <asm/hardirq.h>.
 */
#define PREEMPT_ACTIVE	0x40000000

/*
 * thread information flags:
 *  TIF_SYSCALL_TRACE	- syscall trace active
+0 −2
Original line number Diff line number Diff line
@@ -66,8 +66,6 @@ static inline struct thread_info *current_thread_info(void)

#endif /* !__ASSEMBLY__ */

#define PREEMPT_ACTIVE		0x40000000

/*
 * Thread information flags
 * - these are process state flags that various assembly files may need to access
Loading