Skip to contentSkip to conversation

ARM: nommu: remove unused KTHREAD_SIZE #define

PATCH New Paul Bolle 1 participant 1 message May 14, 2014 Arm (32-bit)

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 ARM: nommu: remove unused KTHREAD_SIZE #define

---
0) Untested.

1) A very similar commit is 10b5aabddd1e ("[PATCH] include/asm-h8300/page.h: remove unused KTHREAD_SIZE #define"). I found that commit by looking into the history of the unloved CONFIG_SMALL_TASKS macro. References to it were added to (a few places in) the tree, starting with v2.5.46. But I haven't found evidence that it was ever defined.

 arch/arm/include/asm/page-nommu.h | 6 ------
 1 file changed, 6 deletions(-)
arch/arm/include/asm/page-nommu.h +0 -6
index d1b162a18dcb..58da8b22cf10 100644
@@ -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)
 
Signature · 1 line
1.9.0