OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../linux-header/ppc64-memory.patch.disabled
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Used by X.org.
  17. - Rene Rebe <rene@exactcode.de>
  18. --- usr/include/asm-ppc64/memory.h.vanilla 2005-10-31 09:52:56.035809888 +0200
  19. +++ usr/include/asm-ppc64/memory.h 2005-10-31 09:57:42.447796816 +0200
  20. @@ -23,12 +23,12 @@
  21. #define ISYNC_ON_SMP
  22. #endif
  23. -static inline void eieio(void)
  24. +static __inline__ void eieio(void)
  25. {
  26. __asm__ __volatile__ ("eieio" : : : "memory");
  27. }
  28. -static inline void isync(void)
  29. +static __inline__ void isync(void)
  30. {
  31. __asm__ __volatile__ ("isync" : : : "memory");
  32. }