patch-2.1.115 linux/arch/ppc/kernel/process.c
Next file: linux/arch/ppc/kernel/prom.c
Previous file: linux/arch/ppc/kernel/prep_time.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Tue Aug 4 16:06:36 1998
- Orig file:
v2.1.114/linux/arch/ppc/kernel/process.c
- Orig date:
Thu Apr 23 20:21:29 1998
diff -u --recursive --new-file v2.1.114/linux/arch/ppc/kernel/process.c linux/arch/ppc/kernel/process.c
@@ -30,12 +30,12 @@
#include <linux/user.h>
#include <linux/elf.h>
#include <linux/elf.h>
+#include <linux/init.h>
#include <asm/pgtable.h>
#include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/io.h>
-#include <asm/smp_lock.h>
#include <asm/processor.h>
#include <asm/mmu.h>
#include <asm/prom.h>
@@ -46,6 +46,8 @@
extern unsigned long _get_SP(void);
extern spinlock_t scheduler_lock;
+struct task_struct *last_task_used_math = NULL;
+
#undef SHOW_TASK_SWITCHES 1
#undef CHECK_STACK 1
@@ -437,7 +439,7 @@
/*
* Low level print for debugging - Cort
*/
-int ll_printk(const char *fmt, ...)
+__initfunc(int ll_printk(const char *fmt, ...))
{
va_list args;
char buf[256];
@@ -453,10 +455,10 @@
int lines = 24, cols = 80;
int orig_x = 0, orig_y = 0;
-void ll_puts(const char *s)
+__initfunc(void ll_puts(const char *s))
{
int x,y;
- char *vidmem = (char *)(_ISA_MEM_BASE + 0xB8000) /*0xC00B8000*/;
+ char *vidmem = (char *)/*(_ISA_MEM_BASE + 0xB8000) */0xD00B8000;
char c;
extern int mem_init_done;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov