]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: Fix duplicate volatile warning.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Thu, 18 Nov 2010 17:40:04 +0000 (09:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Nov 2010 17:40:04 +0000 (09:40 -0800)
commitef22b7b65f0eda9015becc7bff225a399914a242
tree15801292a4a57bc71552685e10f21e1e8094efc8
parentb52b97a339c0f2d76dfd6a31466d3f1b05c5cf7e
net: Fix duplicate volatile warning.

jiffies is defined as "volatile".

  extern unsigned long volatile __jiffy_data jiffies;

ACCESS_ONCE() uses "volatile".
As a result, some compilers warn duplicate `volatile' for ACCESS_ONCE(jiffies).

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/neighbour.h