Skip to content

Commit

Permalink
Automatic merge of 'next-test' into merge-test (2023-11-10 17:23)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpe committed Nov 10, 2023
2 parents fea4df5 + fa345ef commit 4fa98ee
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
6 changes: 6 additions & 0 deletions arch/powerpc/include/asm/ps3.h
Original file line number Diff line number Diff line change
Expand Up @@ -514,4 +514,10 @@ u64 ps3_get_spe_id(void *arg);

void ps3_early_mm_init(void);

#ifdef CONFIG_PPC_EARLY_DEBUG_PS3GELIC
void udbg_shutdown_ps3gelic(void);
#else
static inline void udbg_shutdown_ps3gelic(void) {}
#endif

#endif
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pasemi/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static void __noreturn pas_restart(char *cmd)
}

#ifdef CONFIG_PPC_PASEMI_NEMO
void pas_shutdown(void)
static void pas_shutdown(void)
{
/* Set the PLD bit that makes the SB600 think the power button is being pressed */
void __iomem *pld_map = ioremap(0xf5000000,4096);
Expand Down
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/powermac/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ static void __init smp_psurge_setup_cpu(int cpu_nr)
printk(KERN_ERR "Couldn't get primary IPI interrupt");
}

void __init smp_psurge_take_timebase(void)
static void __init smp_psurge_take_timebase(void)
{
if (psurge_type != PSURGE_DUAL)
return;
Expand All @@ -429,7 +429,7 @@ void __init smp_psurge_take_timebase(void)
set_dec(tb_ticks_per_jiffy/2);
}

void __init smp_psurge_give_timebase(void)
static void __init smp_psurge_give_timebase(void)
{
/* Nothing to do here */
}
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/platforms/ps3/gelic_udbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <linux/ip.h>
#include <linux/udp.h>

#include <asm/ps3.h>
#include <asm/io.h>
#include <asm/udbg.h>
#include <asm/lv1call.h>
Expand Down
6 changes: 0 additions & 6 deletions drivers/net/ethernet/toshiba/ps3_gelic_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,6 @@ static inline void *port_priv(struct gelic_port *port)
return port->priv;
}

#ifdef CONFIG_PPC_EARLY_DEBUG_PS3GELIC
void udbg_shutdown_ps3gelic(void);
#else
static inline void udbg_shutdown_ps3gelic(void) {}
#endif

int gelic_card_set_irq_mask(struct gelic_card *card, u64 mask);
/* shared netdev ops */
void gelic_card_up(struct gelic_card *card);
Expand Down

0 comments on commit 4fa98ee

Please sign in to comment.