padlock.h 649 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Driver for VIA PadLock
  3. *
  4. * Copyright (c) 2004 Michal Ludvig <michal@logix.cz>
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the Free
  8. * Software Foundation; either version 2 of the License, or (at your option)
  9. * any later version.
  10. *
  11. */
  12. #ifndef _CRYPTO_PADLOCK_H
  13. #define _CRYPTO_PADLOCK_H
  14. #define PADLOCK_ALIGNMENT 16
  15. #define PFX KBUILD_MODNAME ": "
  16. #define PADLOCK_CRA_PRIORITY 300
  17. #define PADLOCK_COMPOSITE_PRIORITY 400
  18. #ifdef CONFIG_64BIT
  19. #define STACK_ALIGN 16
  20. #else
  21. #define STACK_ALIGN 4
  22. #endif
  23. #endif /* _CRYPTO_PADLOCK_H */