Skip to content

Commit

Permalink
reboot: remove -stable friendly PF_THREAD_BOUND define
Browse files Browse the repository at this point in the history
Remove the prior patch's #define for easier backporting to the stable
releases.

Signed-off-by: Robin Holt <holt@sgi.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Russ Anderson <rja@sgi.com>
Cc: Robin Holt <holt@sgi.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Robin Holt authored and torvalds committed Jul 9, 2013
1 parent f8f0660 commit 0efbee7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,6 @@ int unregister_reboot_notifier(struct notifier_block *nb)
}
EXPORT_SYMBOL(unregister_reboot_notifier);

/* Add backwards compatibility for stable trees. */
#ifndef PF_NO_SETAFFINITY
#define PF_NO_SETAFFINITY PF_THREAD_BOUND
#endif

static void migrate_to_reboot_cpu(void)
{
/* The boot cpu is always logical cpu 0 */
Expand Down

0 comments on commit 0efbee7

Please sign in to comment.