Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17217
b: refs/heads/master
c: be6b843
h: refs/heads/master
i:
  17215: 60bd883
v: v3
  • Loading branch information
Kumar Gala authored and Paul Mackerras committed Jan 9, 2006
1 parent 41751ba commit d84e4c5
Show file tree
Hide file tree
Showing 4 changed files with 9 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: b580d46ce833f6bdc6a5602f4f0efb1d9c488ed6
refs/heads/master: be6b843918394067e93ebbacb834245251a6f18a
6 changes: 6 additions & 0 deletions trunk/arch/powerpc/kernel/udbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ void udbg_printf(const char *fmt, ...)
va_end(args);
}

void __init udbg_progress(char *s, unsigned short hex)
{
udbg_puts(s);
udbg_puts("\n");
}

/*
* Early boot console based on udbg
*/
Expand Down
8 changes: 1 addition & 7 deletions trunk/arch/powerpc/platforms/powermac/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,12 +639,6 @@ static void __init pmac_init_early(void)
#endif
}

static void __init pmac_progress(char *s, unsigned short hex)
{
udbg_puts(s);
udbg_puts("\n");
}

/*
* pmac has no legacy IO, anything calling this function has to
* fail or bad things will happen
Expand Down Expand Up @@ -763,7 +757,7 @@ struct machdep_calls __initdata pmac_md = {
.calibrate_decr = pmac_calibrate_decr,
.feature_call = pmac_do_feature_call,
.check_legacy_ioport = pmac_check_legacy_ioport,
.progress = pmac_progress,
.progress = udbg_progress,
#ifdef CONFIG_PPC64
.pci_probe_mode = pmac_pci_probe_mode,
.idle_loop = native_idle,
Expand Down
1 change: 1 addition & 0 deletions trunk/include/asm-powerpc/udbg.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ extern int udbg_read(char *buf, int buflen);

extern void register_early_udbg_console(void);
extern void udbg_printf(const char *fmt, ...);
extern void udbg_progress(char *s, unsigned short hex);

extern void udbg_init_uart(void __iomem *comport, unsigned int speed,
unsigned int clock);
Expand Down

0 comments on commit d84e4c5

Please sign in to comment.