1. 31 Oct, 2011 1 commit
    • Paul Gortmaker's avatar
      kernel: Map most files to use export.h instead of module.h · 9984de1a
      Paul Gortmaker authored
      The changed files were only including linux/module.h for the
      EXPORT_SYMBOL infrastructure, and nothing else.  Revector them
      onto the isolated export header for faster compile times.
      
      Nothing to see here but a whole lot of instances of:
      
        -#include <linux/module.h>
        +#include <linux/export.h>
      
      This commit is only changing the kernel dir; next targets
      will probably be mm, fs, the arch dirs, etc.
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      9984de1a
  2. 12 Jan, 2009 1 commit
  3. 11 Jan, 2009 2 commits
    • Ingo Molnar's avatar
      smp_call_function_single(): be slightly less stupid, fix · 93423b86
      Ingo Molnar authored
      Impact: build fix on Alpha
      
       kernel/up.c: In function 'smp_call_function_single':
       kernel/up.c:12: error: 'cpuid' undeclared (first use in this function)
       kernel/up.c:12: error: (Each undeclared identifier is reported only once
       kernel/up.c:12: error: for each function it appears in.)
      
      The typo didnt show up on x86 because 'cpuid' happens to be a
      function address as well ...
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      93423b86
    • Andrew Morton's avatar
      smp_call_function_single(): be slightly less stupid · 53ce3d95
      Andrew Morton authored
      If you do
      
      	smp_call_function_single(expression-with-side-effects, ...)
      
      then expression-with-side-effects never gets evaluated on UP builds.
      
      As always, implementing it in C is the correct thing to do.
      
      While we're there, uninline it for size and possible header dependency
      reasons.
      
      And create a new kernel/up.c, as a place in which to put
      uniprocessor-specific code and storage.  It should mirror kernel/smp.c.
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      53ce3d95