uml: turn build warnings into comments
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 9 May 2007 09:33:22 +0000 (02:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:48 +0000 (12:30 -0700)
These haven't been fixed for ages.  Just make comments out of them.

arch/um/kernel/skas/process.c:181:2: warning: #warning Need to look up
+userspace_pid by cpu
arch/um/kernel/skas/process.c:187:2: warning: #warning Need to look up
+userspace_pid by cpu
arch/um/kernel/skas/process.c:194:2: warning: #warning need to loop over
+userspace_pids in kill_off_processes_skas

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/skas/process.c
arch/um/os-Linux/skas/mem.c
arch/um/os-Linux/skas/process.c

index ef36facd8fe9a7ff814c81dd1f3976ba3054e019..a96ae1a0610e169a20ae953a1ab070a4fa8eac0c 100644 (file)
@@ -178,20 +178,23 @@ int start_uml_skas(void)
 
 int external_pid_skas(struct task_struct *task)
 {
-#warning Need to look up userspace_pid by cpu
+       /* FIXME: Need to look up userspace_pid by cpu */
        return(userspace_pid[0]);
 }
 
 int thread_pid_skas(struct task_struct *task)
 {
-#warning Need to look up userspace_pid by cpu
+       /* FIXME: Need to look up userspace_pid by cpu */
        return(userspace_pid[0]);
 }
 
 void kill_off_processes_skas(void)
 {
        if(proc_mm)
-#warning need to loop over userspace_pids in kill_off_processes_skas
+               /*
+                * FIXME: need to loop over userspace_pids in
+                * kill_off_processes_skas
+                */
                os_kill_ptraced_process(userspace_pid[0], 1);
        else {
                struct task_struct *p;
index 8e490fff3d476a5c54fc49adc17e94b327d6f53e..5c89463207996a60e942366f561a7fb2f2273f82 100644 (file)
@@ -68,7 +68,7 @@ static inline long do_syscall_stub(struct mm_id * mm_idp, void **addr)
        int err, pid = mm_idp->u.pid;
 
        if(proc_mm)
-#warning Need to look up userspace_pid by cpu
+               /* FIXME: Need to look up userspace_pid by cpu */
                pid = userspace_pid[0];
 
        multi_count++;
index 5c088a55396ce3a0b5fbe97f40499cdd9362c7d6..6a0e466d01e33052a2ba2b2a27ed8f9d42ac8cb2 100644 (file)
@@ -586,7 +586,7 @@ void switch_mm_skas(struct mm_id *mm_idp)
 {
        int err;
 
-#warning need cpu pid in switch_mm_skas
+       /* FIXME: need cpu pid in switch_mm_skas */
        if(proc_mm){
                err = ptrace(PTRACE_SWITCH_MM, userspace_pid[0], 0,
                             mm_idp->u.mm_fd);