linux-4.20.0-rc2/qxr_test.c

1 /* Copyright (C) 1991, 1992  Linus Torvalds */
2 
3 /*
4  * QXR test.c
5  *
6  * Copyright (C) 2014-04-22  Qi Yong
7  */
8 
9 
10 #include "smpboot.h"
11 #include <linux/init.h>
12 #include <linux/writeback.h>		/* for the emergency remount stuff */
13 
14 static /* public */ asmlinkage int
15 cpu_idle_loop(void)
16 {
17 	int i;
18 	struct vm_struct *area;
19 	void *b_private;		/* reserved for b_end_io */
20 
21 	return 0;
22 }
23 
24 
25 /* void */ struct address_space; /* struct writeback_control; */
26 
27 int start_kernel()
28 {
29 	struct proc_t;
30 	struct backing_dev_info *backing_dev_info; /* device readahead, etc */
31 
32 	if (try_to_free_buffers(page)) {
33 	}
34 
35 	cpu_idle_loop;
36 	return(0);
37 }