def METHOD_NAME(rhel_major_version, kernel_type):
    """
    Get the name of the package providing kernel binaries.
    :param str rhel_major_version: RHEL major version
    :param KernelType kernel_type: Type of the kernel
    :returns: Kernel package name
    :rtype: str
    """
    if rhel_major_version == '7':
        kernel_pkg_name_table = {
            kernel_lib.KernelType.ORDINARY: 'kernel',
            kernel_lib.KernelType.REALTIME: 'kernel-rt'
        }
    else:
        kernel_pkg_name_table = {
            kernel_lib.KernelType.ORDINARY: 'kernel-core',
            kernel_lib.KernelType.REALTIME: 'kernel-rt-core'
        }
    return kernel_pkg_name_table[kernel_type]