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)
commit83c1b31794a9e3cb30edabef7e57fbdbe129c5ce
treea23269345efe190925eb4bc045f19fcb5fc42178
parentf85f19de90a9997583bb26e6f1f9297a4e152c18
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