mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
ANDROID: KVM: Include prototype for page_relinquish before definition
Fixes build failure on -Werror=missing-prototypes. At the same time, make the header file more resilient to ordering by declaring 'struct page'. Bug: 240239989 Change-Id: I84d069bde5ff03d1afa55d25c01448b0d43042da Signed-off-by: Keir Fraser <keirf@google.com>
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#ifndef __ASM_MEM_RELINQUISH_H
|
||||
#define __ASM_MEM_RELINQUISH_H
|
||||
|
||||
struct page;
|
||||
|
||||
void page_relinquish(struct page *page);
|
||||
|
||||
#endif /* __ASM_MEM_RELINQUISH_H */
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <linux/arm-smccc.h>
|
||||
#include <linux/mem_relinquish.h>
|
||||
#include <linux/memory.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
Reference in New Issue
Block a user