Files
linux/kernel
Michael Ellerman 2e26e045de UPSTREAM: Fix build break in fork.c when THREAD_SIZE < PAGE_SIZE
Commit b235beea9e ("Clarify naming of thread info/stack allocators")
breaks the build on some powerpc configs, where THREAD_SIZE < PAGE_SIZE:

  kernel/fork.c:235:2: error: implicit declaration of function 'free_thread_stack'
  kernel/fork.c:355:8: error: assignment from incompatible pointer type
    stack = alloc_thread_stack_node(tsk, node);
    ^

Fix it by renaming free_stack() to free_thread_stack(), and updating the
return type of alloc_thread_stack_node().

Fixes: b235beea9e ("Clarify naming of thread info/stack allocators")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Bug: 38331309
Change-Id: I5b7f920b459fb84adf5fc75f83bb488b855c4deb
(cherry picked from commit 9521d39976)
Signed-off-by: Zubin Mithra <zsm@google.com>
2017-09-15 10:44:27 +01:00
..
2017-07-21 09:14:57 +02:00
2017-08-30 14:35:43 +02:00
2017-09-02 07:06:51 +02:00
2017-09-14 09:48:29 -07:00
2017-07-27 15:36:54 -07:00
2017-08-30 14:35:43 +02:00
2015-04-11 22:27:55 -04:00
2015-11-04 08:23:51 -05:00
2017-01-17 12:44:14 -08:00
2017-09-07 10:17:02 +02:00
2015-04-12 21:03:31 +02:00
2015-11-23 09:44:58 +01:00
2017-05-20 14:27:02 +02:00
2017-07-05 14:37:19 +02:00
2017-08-24 17:02:36 -07:00
2015-11-05 19:34:48 -08:00
2016-08-01 15:57:55 -07:00
2017-07-15 13:29:08 +02:00