Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1638
b: refs/heads/master
c: 7590d3e
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed May 28, 2005
1 parent 4bcd4c3 commit 1e99e43
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 140 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 92515da73a5df50db45111b8659ac463b4800236
refs/heads/master: 7590d3ec1cda7d504c25103bde0c9911f93810e9
59 changes: 0 additions & 59 deletions trunk/arch/um/kernel/initrd_kern.c

This file was deleted.

46 changes: 0 additions & 46 deletions trunk/arch/um/kernel/initrd_user.c

This file was deleted.

34 changes: 0 additions & 34 deletions trunk/arch/um/kernel/process_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,6 @@
*/
struct cpu_task cpu_tasks[NR_CPUS] = { [0 ... NR_CPUS - 1] = { -1, NULL } };

struct task_struct *get_task(int pid, int require)
{
struct task_struct *ret;

read_lock(&tasklist_lock);
ret = find_task_by_pid(pid);
read_unlock(&tasklist_lock);

if(require && (ret == NULL)) panic("get_task couldn't find a task\n");
return(ret);
}

int external_pid(void *t)
{
struct task_struct *task = t ? t : current;
Expand Down Expand Up @@ -210,11 +198,6 @@ int page_size(void)
return(PAGE_SIZE);
}

unsigned long page_mask(void)
{
return(PAGE_MASK);
}

void *um_virt_to_phys(struct task_struct *task, unsigned long addr,
pte_t *pte_out)
{
Expand Down Expand Up @@ -347,11 +330,6 @@ char *uml_strdup(char *string)
return(new);
}

void *get_init_task(void)
{
return(&init_thread_union.thread_info.task);
}

int copy_to_user_proc(void __user *to, void *from, int size)
{
return(copy_to_user(to, from, size));
Expand Down Expand Up @@ -478,15 +456,3 @@ unsigned long arch_align_stack(unsigned long sp)
return sp & ~0xf;
}
#endif


/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-file-style: "linux"
* End:
*/

0 comments on commit 1e99e43

Please sign in to comment.