Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc/rtas: Move post_mobility_fixup() declaration to pseries

This is a pseries-specific function declaration that doesn't belong in
rtas.h. Move it to the pseries platform code and adjust
pseries/suspend.c accordingly.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231106-rtas-trivial-v1-5-61847655c51f@linux.ibm.com

authored by

Nathan Lynch and committed by
Michael Ellerman
010862d2 1d8faf1f

+2 -1
-1
arch/powerpc/include/asm/rtas.h
··· 444 444 #ifdef CONFIG_PPC_PSERIES 445 445 extern time64_t last_rtas_event; 446 446 extern int clobbering_unread_rtas_event(void); 447 - extern void post_mobility_fixup(void); 448 447 int rtas_syscall_dispatch_ibm_suspend_me(u64 handle); 449 448 #else 450 449 static inline int clobbering_unread_rtas_event(void) { return 0; }
+1
arch/powerpc/platforms/pseries/pseries.h
··· 55 55 extern int dlpar_acquire_drc(u32 drc_index); 56 56 extern int dlpar_release_drc(u32 drc_index); 57 57 extern int dlpar_unisolate_drc(u32 drc_index); 58 + extern void post_mobility_fixup(void); 58 59 59 60 void queue_hotplug_event(struct pseries_hp_errorlog *hp_errlog); 60 61 int handle_dlpar_errorlog(struct pseries_hp_errorlog *hp_errlog);
+1
arch/powerpc/platforms/pseries/suspend.c
··· 13 13 #include <asm/mmu.h> 14 14 #include <asm/rtas.h> 15 15 #include <asm/topology.h> 16 + #include "pseries.h" 16 17 17 18 static struct device suspend_dev; 18 19