init.qti.kernel.sh 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #! /vendor/bin/sh
  2. #=============================================================================
  3. # Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
  4. # All Rights Reserved.
  5. # Confidential and Proprietary - Qualcomm Technologies, Inc.
  6. #
  7. # Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved.
  8. #
  9. # Redistribution and use in source and binary forms, with or without
  10. # modification, are permitted provided that the following conditions are met:
  11. # * Redistributions of source code must retain the above copyright
  12. # notice, this list of conditions and the following disclaimer.
  13. # * Redistributions in binary form must reproduce the above copyright
  14. # notice, this list of conditions and the following disclaimer in the
  15. # documentation and/or other materials provided with the distribution.
  16. # * Neither the name of The Linux Foundation nor
  17. # the names of its contributors may be used to endorse or promote
  18. # products derived from this software without specific prior written
  19. # permission.
  20. #
  21. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  22. # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  23. # IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  24. # NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  25. # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  26. # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  27. # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  28. # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  29. # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  30. # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  31. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  32. #=============================================================================
  33. start_msm_irqbalance()
  34. {
  35. if [ -f /vendor/bin/msm_irqbalance ]; then
  36. start vendor.msm_irqbalance
  37. fi
  38. }
  39. start_msm_irqbalance