All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] arm: nommu: remove unused KTHREAD_SIZE definition
@ 2017-06-12 17:09 ` Jérémy Lefaure
  0 siblings, 0 replies; 6+ messages in thread
From: Jérémy Lefaure @ 2017-06-12 17:09 UTC (permalink / raw)
  To: linux-arm-kernel

I didn't find any use of this macro in the current kernel tree (with git
grep). KTHREAD_SIZE is no longer used for a very very long time. So
let's remove this definition.

Signed-off-by: J?r?my Lefaure <jeremy.lefaure@lse.epita.fr>
---
 arch/arm/include/asm/page-nommu.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/arm/include/asm/page-nommu.h b/arch/arm/include/asm/page-nommu.h
index 503f488053de..8f2c47bec375 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 clear_page(page)	memset((page), 0, PAGE_SIZE)
 #define copy_page(to,from)	memcpy((to), (from), PAGE_SIZE)
 
-- 
2.13.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-15 20:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-12 17:09 [PATCH 1/2] arm: nommu: remove unused KTHREAD_SIZE definition Jérémy Lefaure
2017-06-12 17:09 ` Jérémy Lefaure
2017-06-12 17:09 ` [PATCH 2/2] c6x: " Jérémy Lefaure
2017-06-15 20:53   ` Mark Salter
2017-06-13  7:37 ` [PATCH 1/2] arm: nommu: " Vladimir Murzin
2017-06-13  7:37   ` Vladimir Murzin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.