Old 25th April 2013, 03:33
binpackcz binpackcz is offline
Junior Member
Join Date: Apr 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default atomic64 on i386 arch

This could be a basic question.
I am using an atomic64_t variable for a counter in a kernel module. This compiled fine on x86_64 machines but not on i386, so included the atomic64_32.h header :

if defined(__i386__)
#include <asm/atomic64_32.h>

This is helping to get the module compiled but fails to load the module saying the atomic64_* symbols are not found?
Unknown symbol atomic64_inc
Unknown symbol atomic64_set

What is the correct way to use atomic64_t types in a kernel module?

I tried looking up the exported kernel symbols and it does not list the atomic64* smbols both on i386 and x86_64 archs
cat /proc/kallsyms | grep atomic64_inc

I guess my basic understanding of kernel symbols and loading is poor. Please refer me to any good documentation if any.
Reply With Quote
Sponsored Links


atimc64_t unkown symbol

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ispconfig3 + bind9 on centos 5.5 i386 stinson HOWTO-Related Questions 4 17th February 2011 21:43
Centos 5.5 - IUS PHP53 deunan Installation/Configuration 2 9th January 2011 15:27
How to install OpenOficeOrg 3.0.0 in Ubuntu 8.04 ernesthagger HOWTO-Related Questions 43 23rd December 2008 15:42
SERIOUS ISPConfig + MySQL bug? erebus Installation/Configuration 7 29th September 2007 14:30
ISPConfig support archlinux misterm Installation/Configuration 10 17th August 2006 18:37

All times are GMT +2. The time now is 15:17.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.