+ frv-delete-incorrect-task-prototypes-causing-compile-fail.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: frv: delete incorrect task prototypes causing compile fail
has been added to the -mm tree.  Its filename is
     frv-delete-incorrect-task-prototypes-causing-compile-fail.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
Subject: frv: delete incorrect task prototypes causing compile fail

Commit 41101809 ("fork: Provide weak
arch_release_[task_struct|thread_info] functions") highlights a problem in
the frv arch, where it has needles prototypes for alloc_task_struct_node
and free_task_struct.  This now shows up as:

kernel/fork.c:120:66: error: static declaration of 'alloc_task_struct_node' follows non-static declaration
kernel/fork.c:127:51: error: static declaration of 'free_task_struct' follows non-static declaration

since 41101809 turned them into real functions.  Since arch/frv does does
not define define __HAVE_ARCH_TASK_STRUCT_ALLOCATOR (i.e.  it just uses
the generic ones) it shouldn't list these at all.

Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/frv/include/asm/processor.h |    4 ----
 1 file changed, 4 deletions(-)

diff -puN arch/frv/include/asm/processor.h~frv-delete-incorrect-task-prototypes-causing-compile-fail arch/frv/include/asm/processor.h
--- a/arch/frv/include/asm/processor.h~frv-delete-incorrect-task-prototypes-causing-compile-fail
+++ a/arch/frv/include/asm/processor.h
@@ -135,10 +135,6 @@ unsigned long get_wchan(struct task_stru
 #define	KSTK_EIP(tsk)	((tsk)->thread.frame0->pc)
 #define	KSTK_ESP(tsk)	((tsk)->thread.frame0->sp)
 
-/* Allocation and freeing of basic task resources. */
-extern struct task_struct *alloc_task_struct_node(int node);
-extern void free_task_struct(struct task_struct *p);
-
 #define cpu_relax()    barrier()
 
 /* data cache prefetch */
_
Subject: Subject: frv: delete incorrect task prototypes causing compile fail

Patches currently in -mm which might be from paul.gortmaker@xxxxxxxxxxxxx are

linux-next.patch
pagemaph-fix-warning-about-possibly-used-before-init-var.patch
frv-delete-incorrect-task-prototypes-causing-compile-fail.patch
time-dont-inline-export_symbol-functions.patch
locking-add-kern_cont-when-needed-to-self-test.patch
sethostname-setdomainname-notify-userspace-when-there-is-a-change-in-uts_kern_table.patch
rapidio-add-dma-engine-support-for-rio-data-transfers.patch
rapidio-tsi721-add-dma-engine-support.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux