pkt_sched: fq: prefetch() fix
authorEric Dumazet <edumazet@google.com>
Fri, 30 Aug 2013 16:46:43 +0000 (09:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2013 18:51:59 +0000 (14:51 -0400)
commit08f89b981b0e6b46058dae2957241d4099129521
tree49658edcee773763cc9bdf9eedcfd414b41d0d6f
parentede23fa8161c1a04aa1b3bf5447812ca14b3fef1
pkt_sched: fq: prefetch() fix

kbuild bot reported following m68k build error :

  net/sched/sch_fq.c: In function 'fq_dequeue':
>> net/sched/sch_fq.c:491:2: error: implicit declaration of function
'prefetch' [-Werror=implicit-function-declaration]
   cc1: some warnings being treated as errors

While we are fixing this, move this prefetch() call a bit earlier.

Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fq.c