remove *_segments() dummy functions again
PATCH 1/1 remove *_segments() dummy functions again
Hi Linus. Back on 4th November you applied a patch to remove the now-unused *_segments() functions from all architectures ... but some of the newer architecures still have them. Please apply.
asm-arm26/processor.h | 4 ---- asm-h8300/processor.h | 3 --- asm-x86_64/processor.h | 2 -- 3 files changed, 9 deletions(-)
Index: include/asm-arm26/processor.h
===================================================================
RCS file: /var/cvs/linux-2.5/include/asm-arm26/processor.h,v retrieving revision 1.2
asm-arm26/processor.h +0 -4
@@ -100,10 +100,6 @@ struct task_struct;/* Free all resources held by a thread. */ extern void release_thread (struct task_struct *); -/* Copy and release all segment info associated with a VM */ -#define copy_segments (tsk, mm) do { } while (0) -#define release_segments (mm) do { } while (0) -unsigned long get_wchan (struct task_struct *p);#define cpu_relax () barrier()
Index: include/asm-h8300/processor.h
===================================================================
RCS file: /var/cvs/linux-2.5/include/asm-h8300/processor.h,v retrieving revision 1.2
asm-h8300/processor.h +0 -3
@@ -89,9 +89,6 @@ static inline void release_thread(structextern int kernel_thread (int (*fn)(void *),void * arg,unsigned long flags); -#define copy_segments (tsk, mm) do { } while (0) -#define release_segments (mm) do { } while (0) -#define forget_segments () do { } while (0)#define prepare_to_copy (tsk) do { } while (0)/*
Index: include/asm-x86_64/processor.h
===================================================================
RCS file: /var/cvs/linux-2.5/include/asm-x86_64/processor.h,v retrieving revision 1.14
asm-x86_64/processor.h +0 -2
@@ -280,8 +280,6 @@ extern void prepare_to_copy(struct task_*/ extern long kernel_thread (int (*fn)(void *),void * arg,unsigned long flags); -static inline void release_segments (struct mm_struct *mm) { } -/* * Return saved PC of a blocked thread. * What is this good for? it will be always the scheduler or ret_from_fork.
Signature · 3 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk