]> git.baikalelectronics.ru Git - kernel.git/commit
ramoops: fix compile failure on parisc
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 29 Jul 2011 13:11:32 +0000 (17:11 +0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 30 Jul 2011 06:41:09 +0000 (23:41 -0700)
commit4cb3787bd5ae6d187421f26f5a00489c4f627080
treea23269345efe190925eb4bc045f19fcb5fc42178
parentbf91e06f1e88015a81584747fbd443cdc8ef5791
ramoops: fix compile failure on parisc

Fixes this:

  drivers/char/ramoops.c: In function 'ramoops_init':
  drivers/char/ramoops.c:221: error: implicit declaration of function 'IS_ERR'
  drivers/char/ramoops.c:222: error: implicit declaration of function 'PTR_ERR'

If it actually builds on other platforms, it's probably getting
linux/err.h via some other #include.

Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ramoops.c