Skip to content

Commit

Permalink
hexagon: drop the unused variable zero_page_mask
Browse files Browse the repository at this point in the history
Hexagon arch does not seem to have subscribed to _HAVE_COLOR_ZERO_PAGE
framework.  Hence zero_page_mask variable is not needed.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Anshuman Khandual <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Anshuman Khandual authored and torvalds committed Jun 14, 2018
1 parent 2738f35 commit 608dbdf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion arch/hexagon/include/asm/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

/* A handy thing to have if one has the RAM. Declared in head.S */
extern unsigned long empty_zero_page;
extern unsigned long zero_page_mask;

/*
* The PTE model described here is that of the Hexagon Virtual Machine,
Expand Down
3 changes: 0 additions & 3 deletions arch/hexagon/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ unsigned long __phys_offset; /* physical kernel offset >> 12 */
/* Set as variable to limit PMD copies */
int max_kernel_seg = 0x303;

/* think this should be (page_size-1) the way it's used...*/
unsigned long zero_page_mask;

/* indicate pfn's of high memory */
unsigned long highstart_pfn, highend_pfn;

Expand Down

0 comments on commit 608dbdf

Please sign in to comment.