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

Commit dedd4915 authored by Ingo Molnar's avatar Ingo Molnar Committed by Thomas Gleixner
Browse files

bitops: fix build in struct thread_info



we can move flags from u32 to natural size - assembly code uses
offsetof.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 8a6c160a
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@ struct exec_domain;
struct thread_info {
struct thread_info {
	struct task_struct	*task;		/* main task structure */
	struct task_struct	*task;		/* main task structure */
	struct exec_domain	*exec_domain;	/* execution domain */
	struct exec_domain	*exec_domain;	/* execution domain */
	__u32			flags;		/* low level flags */
	unsigned long		flags;		/* low level flags */
	__u32			status;		/* thread synchronous flags */
	__u32			status;		/* thread synchronous flags */
	__u32			cpu;		/* current CPU */
	__u32			cpu;		/* current CPU */
	int			preempt_count;	/* 0 => preemptable,
	int			preempt_count;	/* 0 => preemptable,