From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756312AbYDXGtv (ORCPT ); Thu, 24 Apr 2008 02:49:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751372AbYDXGsQ (ORCPT ); Thu, 24 Apr 2008 02:48:16 -0400 Received: from e35.co.us.ibm.com ([32.97.110.153]:56915 "EHLO e35.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751140AbYDXGsI (ORCPT ); Thu, 24 Apr 2008 02:48:08 -0400 Message-Id: <20080424064756.935832298@us.ibm.com> References: <20080424064756.643890130@us.ibm.com> User-Agent: quilt/0.46-1 Date: Wed, 23 Apr 2008 23:47:57 -0700 From: Matt Helsley To: Linux-Kernel Cc: Cedric Le Goater , Paul Menage , Oren Laadan , Linus Torvalds , Pavel Machek , linux-pm@lists.linux-foundation.org, Linux Containers Subject: [RFC][PATCH 1/5] Container Freezer: Add TIF_FREEZE flag to all architectures Content-Disposition: inline; filename=cgroup-freezer/cgroup-freezer-add-the-tif-freeze-flag-to-all-archs.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch is the first step in making the refrigerator() available to all architectures, even for those without power management. The purpose of such a change is to be able to use the refrigerator() in a new control group subsystem which will implement a control group freezer. Signed-off-by: Cedric Le Goater Signed-off-by: Matt Helsley Tested-by: Matt Helsley --- include/asm-alpha/thread_info.h | 2 ++ include/asm-avr32/thread_info.h | 2 ++ include/asm-cris/thread_info.h | 2 ++ include/asm-h8300/thread_info.h | 2 ++ include/asm-m68k/thread_info.h | 1 + include/asm-m68knommu/thread_info.h | 2 ++ include/asm-parisc/thread_info.h | 2 ++ include/asm-s390/thread_info.h | 2 ++ include/asm-sparc/thread_info.h | 2 ++ include/asm-sparc64/thread_info.h | 2 ++ include/asm-um/thread_info.h | 2 ++ include/asm-v850/thread_info.h | 2 ++ include/asm-xtensa/thread_info.h | 2 ++ 13 files changed, 25 insertions(+) Index: linux-2.6.25-mm1/include/asm-alpha/thread_info.h =================================================================== --- linux-2.6.25-mm1.orig/include/asm-alpha/thread_info.h +++ linux-2.6.25-mm1/include/asm-alpha/thread_info.h @@ -74,16 +74,18 @@ register struct thread_info *__current_t #define TIF_UAC_NOPRINT 5 /* see sysinfo.h */ #define TIF_UAC_NOFIX 6 #define TIF_UAC_SIGBUS 7 #define TIF_MEMDIE 8 #define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal */ +#define TIF_FREEZE 19 /* is freezing for suspend */ #define _TIF_SYSCALL_TRACE (1<