Skip to content

Commit

Permalink
CRIS tlb.h should include linux/pagemap.h
Browse files Browse the repository at this point in the history
Include linux/pagemap.h for release_pages and page_cache_release.

Fixes compilation error in arch/cris/mm/init.c when CONFIG_SWAP is unset.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Mikael Starvik <mikael.starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jesper Nilsson authored and Linus Torvalds committed Nov 15, 2007
1 parent 57c230a commit ebd33e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-cris/tlb.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef _CRIS_TLB_H
#define _CRIS_TLB_H

#include <linux/pagemap.h>

#include <asm/arch/tlb.h>

/*
Expand Down

0 comments on commit ebd33e1

Please sign in to comment.