Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 31, 2011
  1. kernel: Map most files to use export.h instead of module.h

    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: Paul Gortmaker <>
Commits on Jan 12, 2009
  1. smp_call_function_single(): be slightly less stupid, fix #2

    Ingo Molnar authored
    fix m68k build failure:
     tip/kernel/up.c: In function 'smp_call_function_single':
     tip/kernel/up.c:16: error: dereferencing pointer to incomplete type
     make[2]: *** [kernel/up.o] Error 1
    Signed-off-by: Ingo Molnar <>
Commits on Jan 11, 2009
  1. smp_call_function_single(): be slightly less stupid, fix

    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: Ingo Molnar <>
  2. smp_call_function_single(): be slightly less stupid

    Andrew Morton authored Ingo Molnar committed
    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
    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: Andrew Morton <>
    Signed-off-by: Ingo Molnar <>
Something went wrong with that request. Please try again.