Files
kernel/include/linux
Matthias Kaehlcke 7c30f352c8 jiffies.h: declare jiffies and jiffies_64 with ____cacheline_aligned_in_smp
jiffies_64 is defined in kernel/time/timer.c with
____cacheline_aligned_in_smp, however this macro is not part of the
declaration of jiffies and jiffies_64 in jiffies.h.

As a result clang generates the following warning:

  kernel/time/timer.c:57:26: error: section does not match previous declaration [-Werror,-Wsection]
  __visible u64 jiffies_64 __cacheline_aligned_in_smp = INITIAL_JIFFIES;
                           ^
  include/linux/cache.h:39:36: note: expanded from macro '__cacheline_aligned_in_smp'
                                     ^
  include/linux/cache.h:34:4: note: expanded from macro '__cacheline_aligned'
                   __section__(".data..cacheline_aligned")))
                   ^
  include/linux/jiffies.h:77:12: note: previous attribute is here
  extern u64 __jiffy_data jiffies_64;
             ^
  include/linux/jiffies.h:70:38: note: expanded from macro '__jiffy_data'

Link: http://lkml.kernel.org/r/20170403190200.70273-1-mka@chromium.org
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Cc: "Jason A . Donenfeld" <Jason@zx2c4.com>
Cc: Grant Grundler <grundler@chromium.org>
Cc: Michael Davidson <md@google.com>
Cc: Greg Hackmann <ghackmann@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-05-08 17:15:10 -07:00
..
2017-03-07 14:30:38 +01:00
2017-04-28 18:09:59 -04:00
2017-05-01 14:09:21 -07:00
2017-04-11 14:38:43 -04:00
2017-03-30 09:37:20 +02:00
2017-04-18 20:41:12 +02:00
2017-04-10 17:15:02 +02:00
2017-02-27 10:07:47 -08:00
2017-05-03 15:52:10 -07:00
2017-03-21 10:15:47 +02:00
2017-04-05 18:11:48 +02:00
2017-03-22 16:16:17 +01:00
2017-04-04 14:10:12 -07:00
2017-05-03 15:52:10 -07:00
2017-02-24 17:46:57 -08:00
2017-05-03 15:52:10 -07:00
2017-04-24 14:30:46 -04:00
2017-03-07 14:01:02 -08:00
2017-04-19 14:21:23 +02:00
2017-03-28 08:54:48 +02:00
2017-05-03 15:52:10 -07:00
2017-02-27 18:43:46 -08:00
2017-03-26 15:09:45 +02:00
2017-03-22 12:15:15 -07:00