mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] arm: nommu: remove unused KTHREAD_SIZE definition
@ 2017-06-12 17:09 Jérémy Lefaure
  2017-06-12 17:09 ` [PATCH 2/2] c6x: " Jérémy Lefaure
  2017-06-13  7:37 ` [PATCH 1/2] arm: nommu: " Vladimir Murzin
  0 siblings, 2 replies; 4+ messages in thread
From: Jérémy Lefaure @ 2017-06-12 17:09 UTC (permalink / raw)
  To: Russell King, Jérémy Lefaure; +Cc: linux-arm-kernel, linux-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	[flat|nested] 4+ messages in thread

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

Thread overview: 4+ 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 ` [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome