Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33616
b: refs/heads/master
c: 8dbc160
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Aug 27, 2006
1 parent b46e123 commit ee5434e
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 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: 80193aee18bc862e284ba18504f3a3e14706a997
refs/heads/master: 8dbc16033e35c7443cd56cb5ba308bb19cb7b469
4 changes: 2 additions & 2 deletions trunk/arch/sparc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ void __init setup_arch(char **cmdline_p)
init_mm.context = (unsigned long) NO_CONTEXT;
init_task.thread.kregs = &fake_swapper_regs;

smp_setup_cpu_possible_map();

paging_init();

smp_setup_cpu_possible_map();
}

static int __init set_preferred_console(void)
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sparc/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include <asm/tlbflush.h>
#include <asm/cpudata.h>

volatile int smp_processors_ready = 0;
int smp_num_cpus = 1;
volatile unsigned long cpu_callin_map[NR_CPUS] __initdata = {0,};
unsigned char boot_cpu_id = 0;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sparc/kernel/sun4d_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extern ctxd_t *srmmu_ctx_table_phys;

extern void calibrate_delay(void);

extern volatile int smp_processors_ready;
static volatile int smp_processors_ready = 0;
static int smp_highest_cpu;
extern volatile unsigned long cpu_callin_map[NR_CPUS];
extern cpuinfo_sparc cpu_data[NR_CPUS];
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/sparc/kernel/sun4m_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ extern ctxd_t *srmmu_ctx_table_phys;

extern void calibrate_delay(void);

extern volatile int smp_processors_ready;
extern volatile unsigned long cpu_callin_map[NR_CPUS];
extern unsigned char boot_cpu_id;

Expand Down Expand Up @@ -217,7 +216,6 @@ void __init smp4m_smp_done(void)
}

/* Ok, they are spinning and ready to go. */
smp_processors_ready = 1;
}

/* At each hardware IRQ, we get this called to forward IRQ reception
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/partitions/sun.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ int sun_partition(struct parsed_partitions *state, struct block_device *bdev)
spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect);
for (i = 0; i < 8; i++, p++) {
unsigned long st_sector;
int num_sectors;
unsigned int num_sectors;

st_sector = be32_to_cpu(p->start_cylinder) * spc;
num_sectors = be32_to_cpu(p->num_sectors);
Expand Down

0 comments on commit ee5434e

Please sign in to comment.