Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121406
b: refs/heads/master
c: 349f1b6
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Dec 25, 2008
1 parent 329c25c commit e5f9598
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 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: 2b1a61f0a8c714c96277bf16a823a84bafa1397d
refs/heads/master: 349f1b671a4b2612c1355612bedadc81f86d26f1
19 changes: 1 addition & 18 deletions trunk/arch/s390/kernel/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ static void topology_work_fn(struct work_struct *work);
static struct tl_info *tl_info;
static struct core_info core_info;
static int machine_has_topology;
static int machine_has_topology_irq;
static struct timer_list topology_timer;
static void set_topology_timer(void);
static DECLARE_WORK(topology_work, topology_work_fn);
Expand Down Expand Up @@ -259,11 +258,6 @@ static void set_topology_timer(void)
add_timer(&topology_timer);
}

static void topology_interrupt(__u16 code)
{
schedule_work(&topology_work);
}

static int __init early_parse_topology(char *p)
{
if (strncmp(p, "on", 2))
Expand All @@ -283,14 +277,7 @@ static int __init init_topology_update(void)
goto out;
}
init_timer_deferrable(&topology_timer);
if (machine_has_topology_irq) {
rc = register_external_interrupt(0x2005, topology_interrupt);
if (rc)
goto out;
ctl_set_bit(0, 8);
}
else
set_topology_timer();
set_topology_timer();
out:
update_cpu_core_map();
return rc;
Expand All @@ -311,9 +298,6 @@ void __init s390_init_cpu_topology(void)
return;
machine_has_topology = 1;

if (facility_bits & (1ULL << 51))
machine_has_topology_irq = 1;

tl_info = alloc_bootmem_pages(PAGE_SIZE);
info = tl_info;
stsi(info, 15, 1, 2);
Expand All @@ -337,5 +321,4 @@ void __init s390_init_cpu_topology(void)
return;
error:
machine_has_topology = 0;
machine_has_topology_irq = 0;
}

0 comments on commit e5f9598

Please sign in to comment.