lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4782CFFD.3040902@goop.org>
Date:	Mon, 07 Jan 2008 17:21:01 -0800
From:	Jeremy Fitzhardinge <jeremy@...p.org>
To:	Ingo Molnar <mingo@...e.hu>
CC:	Glauber de Oliveira Costa <glommer@...il.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH] x86: export native_read_tsc

native_read_tsc is needed by modules, so it should be exported.

make -C /home/jeremy/hg/xen/paravirt/linux O=/home/jeremy/hg/xen/paravirt/linux-x86_64 
  Using /home/jeremy/hg/xen/paravirt/linux as source for kernel
  GEN     /home/jeremy/hg/xen/paravirt/linux-x86_64/Makefile
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    /home/jeremy/hg/xen/paravirt/linux/scripts/checksyscalls.sh
  CHK     include/linux/compile.h
Kernel: arch/x86/boot/bzImage is ready  (#49)
  Building modules, stage 2.
  MODPOST 257 modules
ERROR: "native_read_tsc" [drivers/input/gameport/gameport.ko] undefined!

Signed-off-by: Jeremy Fitzhardinge <jeremy@...source.com>
Cc: Glauber de Oliveira Costa <glommer@...il.com>

---
 arch/x86/kernel/rtc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

===================================================================
--- a/arch/x86/kernel/rtc.c
+++ b/arch/x86/kernel/rtc.c
@@ -204,4 +204,4 @@ unsigned long long native_read_tsc(void)
 
 	return EAX_EDX_VAL(val, low, high);
 }
-
+EXPORT_SYMBOL(native_read_tsc);


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ