Files
kernel_google_wahoo/arch/arm/include/asm
Grygorii Strashko 7dc6f83d3d ARM: percpu.h: fix build error
commit aa54ea903abb02303bf55855fb51e3fcee135d70 upstream.

Fix build error for the case:
  defined(CONFIG_SMP) && !defined(CONFIG_CPU_V6)

config: keystone_defconfig

  CC      arch/arm/kernel/signal.o
  In file included from ../include/linux/random.h:14,
                    from ../arch/arm/kernel/signal.c:8:
  ../arch/arm/include/asm/percpu.h: In function ‘__my_cpu_offset’:
  ../arch/arm/include/asm/percpu.h:29:34: error: ‘current_stack_pointer’ undeclared (first use in this function); did you mean ‘user_stack_pointer’?
      : "Q" (*(const unsigned long *)current_stack_pointer));
                                     ^~~~~~~~~~~~~~~~~~~~~
                                     user_stack_pointer

Fixes: f227e3ec3b5c ("random32: update the net random state on interrupt and activity")
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-08-21 10:52:54 +02:00
..
2019-11-10 11:21:36 +01:00
2014-12-04 12:41:50 +00:00
2015-05-05 13:35:39 -06:00
2015-05-28 15:31:53 +02:00
2017-07-21 07:44:57 +02:00
2020-05-27 16:40:24 +02:00
2015-09-16 16:53:39 +02:00
2014-06-01 01:17:12 +01:00
2013-07-08 22:08:51 +01:00
2020-08-21 10:52:54 +02:00
2014-06-01 01:17:12 +01:00
2014-02-25 11:33:37 +00:00
2014-03-18 16:39:40 -04:00