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/virt_to_phys.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/virt_to_phys.c')
-rw-r--r-- | kexec/virt_to_phys.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kexec/virt_to_phys.c b/kexec/virt_to_phys.c new file mode 100644 index 0000000..51ac1df --- /dev/null +++ b/kexec/virt_to_phys.c @@ -0,0 +1,7 @@ +#include "kexec.h" +#include <stdlib.h> + +unsigned long virt_to_phys(unsigned long addr) +{ + abort(); +} |