Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43898
b: refs/heads/master
c: a3a79bd
h: refs/heads/master
v: v3
  • Loading branch information
Sam Creasey authored and Linus Torvalds committed Dec 9, 2006
1 parent 2eacb57 commit d402d7e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 15 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: 8e8858e932a81d827e194abf82faf32d02396f55
refs/heads/master: a3a79bd7c75f0055df16540c7e9dbe270060ebe8
10 changes: 0 additions & 10 deletions trunk/arch/m68k/kernel/sun3-head.S
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,6 @@ ENTRY(_start)
1: lea init_task,%curptr | get initial thread...
lea init_thread_union+THREAD_SIZE,%sp | ...and its stack.

/* copy bootinfo records from the loader to _end */
lea _end, %a1
lea BI_START, %a0
/* number of longs to copy */
movel %a0@, %d0
1: addl #4, %a0
movel %a0@, %a1@
addl #4, %a1
dbf %d0, 1b

/* Point MSP at an invalid page to trap if it's used. --m */
movl #(PAGESIZE),%d0
movc %d0,%msp
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/m68k/kernel/vmlinux-sun3.lds
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENTRY(_start)
jiffies = jiffies_64 + 4;
SECTIONS
{
. = 0xE004000;
. = 0xE002000;
_text = .; /* Text and read-only data */
.text : {
*(.head)
Expand Down
7 changes: 5 additions & 2 deletions trunk/arch/m68k/mm/sun3mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ void __init paging_init(void)
unsigned long zones_size[MAX_NR_ZONES] = { 0, };
unsigned long size;


#ifdef TEST_VERIFY_AREA
wp_works_ok = 0;
#endif
Expand Down Expand Up @@ -94,7 +93,11 @@ void __init paging_init(void)
/* memory sizing is a hack stolen from motorola.c.. hope it works for us */
zones_size[ZONE_DMA] = ((unsigned long)high_memory - PAGE_OFFSET) >> PAGE_SHIFT;

free_area_init(zones_size);
/* I really wish I knew why the following change made things better... -- Sam */
/* free_area_init(zones_size); */
free_area_init_node(0, NODE_DATA(0), zones_size,
(__pa(PAGE_OFFSET) >> PAGE_SHIFT) + 1, NULL);


}

Expand Down
1 change: 0 additions & 1 deletion trunk/include/asm-m68k/sun3-head.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#define KERNBASE 0xE000000 /* First address the kernel will eventually be */
#define LOAD_ADDR 0x4000 /* prom jumps to us here unless this is elf /boot */
#define BI_START (KERNBASE + 0x3000) /* beginning of the bootinfo records */
#define FC_CONTROL 3
#define FC_SUPERD 5
#define FC_CPU 7
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-m68k/sun3ints.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <asm/intersil.h>
#include <asm/oplib.h>
#include <asm/traps.h>
#include <asm/irq.h>

#define SUN3_INT_VECS 192

Expand Down

0 comments on commit d402d7e

Please sign in to comment.