title: What is the print format for atomic_long_t for printk in C
body: <p>I am trying to print an atomic_long_t value but I am unable to find the correct format to use it so that it prints actual information. I have tried</p>
  
  <pre><code>struct zone *mzone;
  atomic_long_t l; 
  for_each_zone(mzone);
  l=mzone -&gt;vm_stat[NR_ACTIVE_ANON];
  printk(KERN EMERG "NR_ACTIVE_ANON: %lu",l); 
  </code></pre>
  
  <p>and </p>
  
  <pre><code>printk(KERN EMERG "NR_ACTIVE_ANON: %ld",l); 
  </code></pre>
  
  <p>but all I get is 0 no matter what. I have also tried atomic_long_read, but it expects a struct pointer atomic_long_t. </p>