glue.h 759 B

1234567891011121314151617181920212223242526
  1. /*
  2. * arch/arm/include/asm/glue.h
  3. *
  4. * Copyright (C) 1997-1999 Russell King
  5. * Copyright (C) 2000-2002 Deep Blue Solutions Ltd.
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. *
  11. * This file provides the glue to stick the processor-specific bits
  12. * into the kernel in an efficient manner. The idea is to use branches
  13. * when we're only targeting one class of TLB, or indirect calls
  14. * when we're targeting multiple classes of TLBs.
  15. */
  16. #ifdef __KERNEL__
  17. #ifdef __STDC__
  18. #define ____glue(name,fn) name##fn
  19. #else
  20. #define ____glue(name,fn) name/**/fn
  21. #endif
  22. #define __glue(name,fn) ____glue(name,fn)
  23. #endif