mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
sh: fix pg-sh4.c build breakage in linux-next
Remove inline from ptep_get_and_clean() to match with header file prototype. Makes linux-next build. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
026953db56
commit
73382f710b
@ -111,7 +111,7 @@ EXPORT_SYMBOL(copy_user_highpage);
|
|||||||
/*
|
/*
|
||||||
* For SH-4, we have our own implementation for ptep_get_and_clear
|
* For SH-4, we have our own implementation for ptep_get_and_clear
|
||||||
*/
|
*/
|
||||||
inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
|
pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
|
||||||
{
|
{
|
||||||
pte_t pte = *ptep;
|
pte_t pte = *ptep;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user