[PATCH 0/4] exitcall infrastructure

Herve Codina Herve.CODINA at celad.com
Mon Jul 6 00:36:42 PDT 2015


This series adds shutdown hooks mechanism.
The mechanism chosen is based on initcall infrastructure and so the name
given is exitcall.
The first patch implement the exitcall infrastructure.
The other patches move old shutdown functions to this new infrastructure.

Herve Codina (4):
  exitcall: Add exitcall infrastructure
  exitcall: move device_shutdown to exitcall infrastructure
  exitcall: move arch_shutdown to exitcall infrastructure
  exitcall: move board_shutdown to exitcall infrastructure

 arch/arm/boards/animeo_ip/init.c          |    2 +-
 arch/arm/cpu/cpu.c                        |    3 ++-
 arch/arm/include/asm/common.h             |    2 --
 arch/arm/lib/barebox.lds.S                |    4 ++++
 arch/blackfin/boards/ipe337/barebox.lds.S |    4 ++++
 arch/blackfin/include/asm/common.h        |    6 ++----
 arch/blackfin/lib/board.c                 |    7 ++++++-
 arch/efi/lib/elf_ia32_efi.lds.S           |    4 ++++
 arch/efi/lib/elf_x86_64_efi.lds.S         |    4 ++++
 arch/mips/lib/barebox.lds.S               |    4 ++++
 arch/nios2/cpu/barebox.lds.S              |    4 ++++
 arch/nios2/lib/board.c                    |    3 ---
 arch/openrisc/cpu/barebox.lds.S           |    4 ++++
 arch/openrisc/lib/board.c                 |    3 ---
 arch/ppc/boards/pcm030/barebox.lds.S      |    5 +++++
 arch/ppc/mach-mpc85xx/barebox.lds.S       |    5 +++++
 arch/sandbox/board/barebox.lds.S          |    5 +++++
 arch/x86/lib/barebox.lds.S                |    9 ++++++++-
 common/startup.c                          |   18 ++++++++++--------
 drivers/base/driver.c                     |    3 ++-
 include/asm-generic/barebox.lds.h         |    9 +++++++++
 include/common.h                          |    3 ---
 include/driver.h                          |    5 -----
 include/init.h                            |   15 +++++++++++++++
 24 files changed, 98 insertions(+), 33 deletions(-)

-- 
1.7.9.5




More information about the barebox mailing list