Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17191
b: refs/heads/master
c: d52771f
h: refs/heads/master
i:
  17189: 6f9e0b5
  17187: f8a5146
  17183: 65ee373
v: v3
  • Loading branch information
David Woodhouse authored and Paul Mackerras committed Jan 9, 2006
1 parent ef5c3d6 commit c5d3369
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 49d65b3ac5614431041abcd2eabc0d77eff5e32d
refs/heads/master: d52771fce4e774fa786097d34412a057d487c697
10 changes: 10 additions & 0 deletions trunk/arch/powerpc/platforms/cell/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,15 @@ static int __init cell_probe(int platform)
return 1;
}

/*
* Cell has no legacy IO; anything calling this function has to
* fail or bad things will happen
*/
static int cell_check_legacy_ioport(unsigned int baseport)
{
return -ENODEV;
}

struct machdep_calls __initdata cell_md = {
.probe = cell_probe,
.setup_arch = cell_setup_arch,
Expand All @@ -213,6 +222,7 @@ struct machdep_calls __initdata cell_md = {
.get_rtc_time = rtas_get_rtc_time,
.set_rtc_time = rtas_set_rtc_time,
.calibrate_decr = generic_calibrate_decr,
.check_legacy_ioport = cell_check_legacy_ioport,
.progress = cell_progress,
#ifdef CONFIG_KEXEC
.machine_kexec = default_machine_kexec,
Expand Down

0 comments on commit c5d3369

Please sign in to comment.