Skip to contentSkip to conversation

remove unused PF_ALIGNWARN flag

PATCH In review Dave Young 1 participant 2 messages Sep 13, 2010 Scheduler

lore
Share & tools
lore

Dave Young

author
#0 lore raw

PATCH 1/1 remove unused PF_ALIGNWARN flag

PF_ALIGNWARN is not implemented and it is for 486 as the comment.

It is not likely someone will implement this flag feature.
So here remove this flag and leave the valuable 0x00000001 for future use.

---
 include/linux/sched.h |    2 --
 1 file changed, 2 deletions(-)
include/linux/sched.h +0 -2
@@ -1681,8 +1681,6 @@ extern void thread_group_times(struct ta
 /*
  * Per process flags
  */
-#define PF_ALIGNWARN	0x00000001	/* Print alignment warning msgs */
-					/* Not implemented yet, only for 486*/
 #define PF_STARTING	0x00000002	/* being created */
 #define PF_EXITING	0x00000004	/* getting shut down */
 #define PF_EXITPIDONE	0x00000008	/* pi exit done on shut down */
#1 lore raw

[tip:sched/core] sched: Remove unused PF_ALIGNWARN flag

Commit-ID:  637bbdc5b83615ef9f45f50399d1c7f27473c713
Gitweb:     http://git.kernel.org/tip/637bbdc5b83615ef9f45f50399d1c7f27473c713
Author:     Dave Young <[email protected]>
AuthorDate: Mon, 13 Sep 2010 20:19:03 +0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 13 Sep 2010 20:39:08 +0200

sched: Remove unused PF_ALIGNWARN flag

PF_ALIGNWARN is not implemented and it is for 486 as the comment.

It is not likely someone will implement this flag feature. So here remove this flag and leave the valuable 0x00000001 for future use.

Cc Peter Zijlstra <[email protected]>
Cc Linus Torvalds <[email protected]>

LKML-Reference: <20100913121903.GB22238@darkstar>

---
 include/linux/sched.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
include/linux/sched.h +0 -2
index b51c53c..cdf5669 100644
@@ -1682,8 +1682,6 @@ extern void thread_group_times(struct task_struct *p, cputime_t *ut, cputime_t *
 /*
  * Per process flags
  */
-#define PF_ALIGNWARN	0x00000001	/* Print alignment warning msgs */
-					/* Not implemented yet, only for 486*/
 #define PF_STARTING	0x00000002	/* being created */
 #define PF_EXITING	0x00000004	/* getting shut down */
 #define PF_EXITPIDONE	0x00000008	/* pi exit done on shut down */