Commit 95a23f58 authored by Richard Henderson's avatar Richard Henderson Committed by Richard Henderson

Warning cleanup.

parent 40cda92c
......@@ -279,7 +279,6 @@ static void __init
titan_init_one_pachip_port(titan_pachip_port *port, int index)
{
struct pci_controller *hose;
unsigned long sg_size;
hose = alloc_pci_controller();
if (index == 0)
......
......@@ -162,9 +162,9 @@ extern struct mcheck_info
unsigned char extra;
} __mcheck_info;
#define mcheck_expected(cpu) (__mcheck_info.expected)
#define mcheck_taken(cpu) (__mcheck_info.taken)
#define mcheck_extra(cpu) (__mcheck_info.extra)
#define mcheck_expected(cpu) ((void)(cpu), __mcheck_info.expected)
#define mcheck_taken(cpu) ((void)(cpu), __mcheck_info.taken)
#define mcheck_extra(cpu) ((void)(cpu), __mcheck_info.extra)
#endif
#define DEBUG_MCHECK 0 /* 0 = minimal, 1 = debug, 2 = debug+dump. */
......
......@@ -84,8 +84,8 @@ titan_update_irq_hw(unsigned long mask)
*dim3;
#else
volatile unsigned long *dimB;
if (bcpu == 0) dimB = &cchip->dim0.csr;
else if (bcpu == 1) dimB = &cchip->dim1.csr;
dimB = &cchip->dim0.csr;
if (bcpu == 1) dimB = &cchip->dim1.csr;
else if (bcpu == 2) dimB = &cchip->dim2.csr;
else if (bcpu == 3) dimB = &cchip->dim3.csr;
......@@ -190,9 +190,6 @@ init_titan_irqs(struct hw_interrupt_type * ops, int imin, int imax)
static void __init
privateer_init_irq(void)
{
extern asmlinkage void entInt(void);
int cpu;
outb(0, DMA1_RESET_REG);
outb(0, DMA2_RESET_REG);
outb(DMA_MODE_CASCADE, DMA2_MODE_REG);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment