[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1309643272-364-7-git-send-email-ext-phil.2.carmody@nokia.com>
Date: Sun, 3 Jul 2011 00:47:51 +0300
From: Phil Carmody <ext-phil.2.carmody@...ia.com>
To: trivial@...nel.org
Cc: ext-phil.2.carmody@...ia.com, linux-kernel@...r.kernel.org
Subject: [PATCH 6/7] nommu: there is no CONFIG_SMALL_TASKS
So this is dead code. That, and it appears KTHREAD_SIZE
isn't used anywhere else in the kernel, so purging the
whole if/else.
Part of a shotgun patchset; found by greps, seds, and diffs
rather than actual understanding.
Signed-off-by: Phil Carmody <ext-phil.2.carmody@...ia.com>
---
arch/arm/include/asm/page-nommu.h | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/arch/arm/include/asm/page-nommu.h b/arch/arm/include/asm/page-nommu.h
index d1b162a..58da8b2 100644
--- a/arch/arm/include/asm/page-nommu.h
+++ b/arch/arm/include/asm/page-nommu.h
@@ -11,12 +11,6 @@
#ifndef _ASMARM_PAGE_NOMMU_H
#define _ASMARM_PAGE_NOMMU_H
-#if !defined(CONFIG_SMALL_TASKS) && PAGE_SHIFT < 13
-#define KTHREAD_SIZE (8192)
-#else
-#define KTHREAD_SIZE PAGE_SIZE
-#endif
-
#define get_user_page(vaddr) __get_free_page(GFP_KERNEL)
#define free_user_page(page, addr) free_page(addr)
--
1.7.2.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists