lkml.org 
[lkml]   [2003]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 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
diff -u -p -r1.2 processor.h
--- include/asm-arm26/processor.h 14 Jun 2003 22:15:54 -0000 1.2
+++ include/asm-arm26/processor.h 26 Jun 2003 10:24:47 -0000
@@ -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
diff -u -p -r1.2 processor.h
--- include/asm-h8300/processor.h 24 Apr 2003 01:37:23 -0000 1.2
+++ include/asm-h8300/processor.h 26 Jun 2003 10:24:47 -0000
@@ -89,9 +89,6 @@ static inline void release_thread(struct

extern 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
diff -u -p -r1.14 processor.h
--- include/asm-x86_64/processor.h 14 Jun 2003 22:16:00 -0000 1.14
+++ include/asm-x86_64/processor.h 26 Jun 2003 10:24:47 -0000
@@ -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.
--
"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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.026 / U:6.176 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site