Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22960
b: refs/heads/master
c: a9ea210
h: refs/heads/master
v: v3
  • Loading branch information
Michael Ellerman authored and Paul Mackerras committed Mar 22, 2006
1 parent 4699f99 commit 9051f6b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 30 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: 260de22faac4d336ca122ebd0f1e59279d0b1dfd
refs/heads/master: a9ea2101aaa7fe73cb352cea4145853efdabaa0d
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/iseries/mf.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ void mf_power_off(void)
* Global kernel interface to tell the VSP object in the primary
* partition to reboot this partition.
*/
void mf_reboot(void)
void mf_reboot(char *cmd)
{
printk(KERN_INFO "mf.c: Preparing to bounce...\n");
signal_ce_msg_simple(0x4e, NULL);
Expand Down
30 changes: 3 additions & 27 deletions trunk/arch/powerpc/platforms/iseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,30 +554,6 @@ static void iSeries_show_cpuinfo(struct seq_file *m)
seq_printf(m, "machine\t\t: 64-bit iSeries Logical Partition\n");
}

/*
* Document me.
*/
static void iSeries_restart(char *cmd)
{
mf_reboot();
}

/*
* Document me.
*/
static void iSeries_power_off(void)
{
mf_power_off();
}

/*
* Document me.
*/
static void iSeries_halt(void)
{
mf_power_off();
}

static void __init iSeries_progress(char * st, unsigned short code)
{
printk("Progress: [%04x] - %s\n", (unsigned)code, st);
Expand Down Expand Up @@ -716,9 +692,9 @@ struct machdep_calls __initdata iseries_md = {
.get_irq = iSeries_get_irq,
.init_early = iSeries_init_early,
.pcibios_fixup = iSeries_pci_final_fixup,
.restart = iSeries_restart,
.power_off = iSeries_power_off,
.halt = iSeries_halt,
.restart = mf_reboot,
.power_off = mf_power_off,
.halt = mf_power_off,
.get_boot_time = iSeries_get_boot_time,
.set_rtc_time = iSeries_set_rtc_time,
.get_rtc_time = iSeries_get_rtc_time,
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-powerpc/iseries/mf.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ extern void mf_deallocate_lp_events(HvLpIndex targetLp, HvLpEvent_Type type,
unsigned count, MFCompleteHandler hdlr, void *userToken);

extern void mf_power_off(void);
extern void mf_reboot(void);
extern void mf_reboot(char *cmd);

extern void mf_display_src(u32 word);
extern void mf_display_progress(u16 value);
Expand Down

0 comments on commit 9051f6b

Please sign in to comment.