summaryrefslogtreecommitdiff
path: root/kexec/virt_to_phys.c
diff options
context:
space:
mode:
authorJamey Sharp <jamey@thetovacompany.com>2008-04-22 16:21:10 -0700
committerSimon Horman <horms@verge.net.au>2008-04-24 11:21:31 +1000
commiteb5c1bab95722a56cc44beddd1eba8dd9470c82f (patch)
tree8a6858a73812bfd48c4f9a515d96b219126a811a /kexec/virt_to_phys.c
parentd1e7c0fa1f66c74c0f0de9673041a19a1eceb35b (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.c7
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();
+}