mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
Add the prototype for check_tlb_sanity() to <asm/tlb.h> and use that header to prevent a build warning: arch/xtensa/mm/tlb.c:273:6: warning: no previous prototype for 'check_tlb_sanity' [-Wmissing-prototypes] 273 | void check_tlb_sanity(void) Signed-off-by: Randy Dunlap <[email protected]> Cc: Chris Zankel <[email protected]> Cc: Max Filippov <[email protected]> Message-Id: <[email protected]> Signed-off-by: Max Filippov <[email protected]>
24 lines
505 B
C
24 lines
505 B
C
/*
|
|
* include/asm-xtensa/tlb.h
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* Copyright (C) 2001 - 2005 Tensilica Inc.
|
|
*/
|
|
|
|
#ifndef _XTENSA_TLB_H
|
|
#define _XTENSA_TLB_H
|
|
|
|
#include <asm/cache.h>
|
|
#include <asm/page.h>
|
|
|
|
#include <asm-generic/tlb.h>
|
|
|
|
#define __pte_free_tlb(tlb, pte, address) pte_free((tlb)->mm, pte)
|
|
|
|
void check_tlb_sanity(void);
|
|
|
|
#endif /* _XTENSA_TLB_H */
|