Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755742Ab1BHTf0 (ORCPT ); Tue, 8 Feb 2011 14:35:26 -0500 Received: from mga09.intel.com ([134.134.136.24]:43704 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755687Ab1BHTfR (ORCPT ); Tue, 8 Feb 2011 14:35:17 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.60,443,1291622400"; d="scan'208";a="705461251" From: james_p_freyensee@linux.intel.com To: gregkh@suse.de Cc: linux-kernel@vger.kernel.org, suhail.ahmed@intel.com, james_p_freyensee@linux.intel.com Subject: [PATCH 01/12] export kernel call get_task_comm() Date: Tue, 8 Feb 2011 11:34:46 -0800 Message-Id: <1297193697-5417-2-git-send-email-james_p_freyensee@linux.intel.com> X-Mailer: git-send-email 1.6.6.1 In-Reply-To: <1297193697-5417-1-git-send-email-james_p_freyensee@linux.intel.com> References: <1297193697-5417-1-git-send-email-james_p_freyensee@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 923 Lines: 31 From: J Freyensee This allows drivers who call this function to be compiled modularly. Otherwise, a driver who is interested in this type of functionality has to implement their own. Signed-off-by: J Freyensee --- fs/exec.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/exec.c b/fs/exec.c index c62efcb..7b209f9 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -998,6 +998,7 @@ char *get_task_comm(char *buf, struct task_struct *tsk) task_unlock(tsk); return buf; } +EXPORT_SYMBOL_GPL(get_task_comm); void set_task_comm(struct task_struct *tsk, char *buf) { -- 1.6.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/