arch/microblaze/include/asm/entry.h: Include "linux/linkage.h" to avoid compiling...
authorChen Gang <gang.chen.5i5j@gmail.com>
Wed, 6 Aug 2014 13:32:53 +0000 (21:32 +0800)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 9 Sep 2014 11:10:20 +0000 (13:10 +0200)
commitdd03524614d6d75b2e8604f9d2186ab079038142
treeee79955f3f1a25e2bd684968e07b5aa0198601e4
parent2ce7598c9a453e0acd0e07be7be3f5eb39608ebd
arch/microblaze/include/asm/entry.h: Include "linux/linkage.h" to avoid compiling issue

"entry.h" needs 'asmlinkage', and "asm/linkage.h" does not provide it.
So need include "linux/linkage.h" to use generic one instead of.

The related error (with allmodconfig under microblaze):

    CC [M]  drivers/net/ethernet/emulex/benet/be_main.o
  In file included from ./arch/microblaze/include/asm/processor.h:17:0,
                   from include/linux/prefetch.h:14,
                   from drivers/net/ethernet/emulex/benet/be_main.c:18:
  ./arch/microblaze/include/asm/entry.h:33:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
   extern asmlinkage void do_notify_resume(struct pt_regs *regs, int in_syscall);
                     ^

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/entry.h