From: Herve Codina <Herve.CODINA@celad.com>
To: barebox@lists.infradead.org
Cc: Herve Codina <Herve.CODINA@celad.com>
Subject: [PATCH 0/4] exitcall infrastructure
Date: Mon, 6 Jul 2015 09:36:42 +0200 [thread overview]
Message-ID: <1436168207-6433-1-git-send-email-Herve.CODINA@celad.com> (raw)
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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2015-07-06 7:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-06 7:36 Herve Codina [this message]
2015-07-06 7:36 ` [PATCH 1/4] exitcall: Add " Herve Codina
2015-07-06 7:36 ` [PATCH 2/4] exitcall: move device_shutdown to " Herve Codina
2015-07-06 7:36 ` [PATCH 3/4] exitcall: move arch_shutdown " Herve Codina
2015-07-06 7:36 ` [PATCH 4/4] exitcall: move board_shutdown " Herve Codina
2015-07-06 11:52 ` [PATCH 0/4] " Sascha Hauer
2015-07-06 12:19 ` Herve Codina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436168207-6433-1-git-send-email-Herve.CODINA@celad.com \
--to=herve.codina@celad.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox