Skip to content

Commit

Permalink
parisc: asm/pdc.h should include asm/page.h
Browse files Browse the repository at this point in the history
Fixes this build error:
arch/parisc/kernel/pdc_cons.c:117: error: '__PAGE_OFFSET' undeclared

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
  • Loading branch information
Alexander Beregalov authored and Kyle McMartin committed Apr 2, 2009
1 parent 1ab2eaa commit d845e1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/parisc/include/asm/pdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@

#ifdef __KERNEL__

#include <asm/page.h> /* for __PAGE_OFFSET */

extern int pdc_type;

/* Values for pdc_type */
Expand Down

0 comments on commit d845e1f

Please sign in to comment.