summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/x86_64/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/x86_64/cpu.c')
-rw-r--r--arch/x86/cpu/x86_64/cpu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/cpu/x86_64/cpu.c b/arch/x86/cpu/x86_64/cpu.c
index 1b4d3971b04..90a766c3c57 100644
--- a/arch/x86/cpu/x86_64/cpu.c
+++ b/arch/x86/cpu/x86_64/cpu.c
@@ -70,3 +70,8 @@ int x86_cpu_reinit_f(void)
{
return 0;
}
+
+int cpu_phys_address_size(void)
+{
+ return CONFIG_CPU_ADDR_BITS;
+}