diff options
author | Jamey Sharp <jamey@thetovacompany.com> | 2008-04-22 16:21:10 -0700 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2008-04-24 11:21:31 +1000 |
commit | eb5c1bab95722a56cc44beddd1eba8dd9470c82f (patch) | |
tree | 8a6858a73812bfd48c4f9a515d96b219126a811a /kexec/add_buffer.c | |
parent | d1e7c0fa1f66c74c0f0de9673041a19a1eceb35b (diff) |
Replace weak definitions with source filename overriding.
This reduces the kexec-tools' demands on the capabilities of the
toolchain, and improves standards conformance, without really changing
maintenance complexity.
Signed-off-by: Jamey Sharp <jamey@thetovacompany.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/add_buffer.c')
-rw-r--r-- | kexec/add_buffer.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kexec/add_buffer.c b/kexec/add_buffer.c new file mode 100644 index 0000000..4d4a55f --- /dev/null +++ b/kexec/add_buffer.c @@ -0,0 +1,14 @@ +#include "kexec.h" + +unsigned long add_buffer(struct kexec_info *info, + const void *buf, + unsigned long bufsz, + unsigned long memsz, + unsigned long buf_align, + unsigned long buf_min, + unsigned long buf_max, + int buf_end) +{ + return add_buffer_virt(info, buf, bufsz, memsz, buf_align, + buf_min, buf_max, buf_end); +} |