mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-05-17 15:31:57 +00:00
[PATCH] ppc: fix a bunch of warnings
Building a PowerMac kernel with ARCH=powerpc causes a bunch of warnings, this fixes some of them Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
75722d3992
commit
21fe3301f1
@@ -17,6 +17,7 @@
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include <asm/prom.h>
|
||||
#include <asm/rtas.h>
|
||||
@@ -83,7 +84,7 @@ void call_rtas_display_status_delay(unsigned char c)
|
||||
while (width-- > 0)
|
||||
call_rtas_display_status(' ');
|
||||
width = 16;
|
||||
udelay(500000);
|
||||
mdelay(500);
|
||||
pending_newline = 1;
|
||||
} else {
|
||||
if (pending_newline) {
|
||||
|
||||
Reference in New Issue
Block a user