]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle: header file stubs must be "static inline"
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 31 Jul 2019 05:29:52 +0000 (15:29 +1000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 31 Jul 2019 10:21:48 +0000 (12:21 +0200)
commit7203f9466ec1249ed5cdddebb1db3a39b0a39c37
treec4335e9c5408c919977829cf4c28b6cf6739e027
parent7e771d977a9a51913aec8ed3106c20de5c328f29
cpuidle: header file stubs must be "static inline"

An x86_64 allmodconfig build produces these errors:

x86_64-linux-gnu-ld: kernel/sched/core.o: in function `cpuidle_poll_time':
core.c:(.text+0x230): multiple definition of `cpuidle_poll_time'; arch/x86/=
kernel/process.o:process.c:(.text+0xc0): first defined here

(and more)

Fixes: a1c8b6f2bbbc ("cpuidle: add poll_limit_ns to cpuidle_device structure")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/cpuidle.h