|
@@ -164,7 +164,8 @@ found:
|
|
|
* (file: kernel/tt/ptproxy/proxy.c, proc: start_debugger).
|
|
|
* So it isn't 'static' yet.
|
|
|
*/
|
|
|
-int make_tempfile(const char *template, char **out_tempname, int do_unlink)
|
|
|
+int __init make_tempfile(const char *template, char **out_tempname,
|
|
|
+ int do_unlink)
|
|
|
{
|
|
|
char *tempname;
|
|
|
int fd;
|
|
@@ -205,7 +206,7 @@ out:
|
|
|
* This proc is used in start_up.c
|
|
|
* So it isn't 'static'.
|
|
|
*/
|
|
|
-int create_tmp_file(unsigned long long len)
|
|
|
+int __init create_tmp_file(unsigned long long len)
|
|
|
{
|
|
|
int fd, err;
|
|
|
char zero;
|
|
@@ -241,7 +242,7 @@ int create_tmp_file(unsigned long long len)
|
|
|
return fd;
|
|
|
}
|
|
|
|
|
|
-int create_mem_file(unsigned long long len)
|
|
|
+int __init create_mem_file(unsigned long long len)
|
|
|
{
|
|
|
int err, fd;
|
|
|
|
|
@@ -256,7 +257,7 @@ int create_mem_file(unsigned long long len)
|
|
|
}
|
|
|
|
|
|
|
|
|
-void check_tmpexec(void)
|
|
|
+void __init check_tmpexec(void)
|
|
|
{
|
|
|
void *addr;
|
|
|
int err, fd = create_tmp_file(UM_KERN_PAGE_SIZE);
|