percpu.h 429 B

1234567891011121314151617181920
  1. #ifndef __ALPHA_PERCPU_H
  2. #define __ALPHA_PERCPU_H
  3. /*
  4. * Increase the per cpu area for Alpha so that
  5. * modules using percpu area can load.
  6. */
  7. #ifdef CONFIG_MODULES
  8. # define PERCPU_MODULE_RESERVE 8192
  9. #else
  10. # define PERCPU_MODULE_RESERVE 0
  11. #endif
  12. #define PERCPU_ENOUGH_ROOM \
  13. (ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES) + \
  14. PERCPU_MODULE_RESERVE)
  15. #include <asm-generic/percpu.h>
  16. #endif /* __ALPHA_PERCPU_H */