Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117816
b: refs/heads/master
c: 23cf24c
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Oct 26, 2008
1 parent 0d6fec9 commit 455c6f4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 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: 3c37fc86d20fe35be656f070997d62f75c2e4874
refs/heads/master: 23cf24c0c83a5a6eb39b9fa4d3843a8b9414db40
6 changes: 5 additions & 1 deletion trunk/drivers/ata/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,11 @@ static struct ata_queued_cmd *ata_scsi_qc_new(struct ata_device *dev,
{
struct ata_queued_cmd *qc;

qc = ata_qc_new_init(dev, cmd->request->tag);
if (cmd->request->tag != -1)
qc = ata_qc_new_init(dev, cmd->request->tag);
else
qc = ata_qc_new_init(dev, 0);

if (qc) {
qc->scsicmd = cmd;
qc->scsidone = done;
Expand Down
3 changes: 1 addition & 2 deletions trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,7 @@ static void __init do_initcalls(void)
static void __init do_basic_setup(void)
{
rcu_init_sched(); /* needed by module_init stage. */
init_workqueues();
usermodehelper_init();
driver_init();
init_irq_proc();
Expand Down Expand Up @@ -851,8 +852,6 @@ static int __init kernel_init(void * unused)

cad_pid = task_pid(current);

init_workqueues();

smp_prepare_cpus(setup_max_cpus);

do_pre_smp_initcalls();
Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/stop_machine.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ static int __init stop_machine_init(void)
stop_machine_work = alloc_percpu(struct work_struct);
return 0;
}
early_initcall(stop_machine_init);
core_initcall(stop_machine_init);

0 comments on commit 455c6f4

Please sign in to comment.