feature.c (4bbf7bc4c7bf1c80ec3c942fa5f1b6e6fa67dd99) feature.c (e8222502ee6157e2713da9e0792c21f4ad458d50)
1/*
2 * Copyright (C) 1996-2001 Paul Mackerras (paulus@cs.anu.edu.au)
3 * Ben. Herrenschmidt (benh@kernel.crashing.org)
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.

--- 2937 unchanged lines hidden (view full) ---

2946 * Early video resume hook
2947 */
2948
2949static void (*pmac_early_vresume_proc)(void *data);
2950static void *pmac_early_vresume_data;
2951
2952void pmac_set_early_video_resume(void (*proc)(void *data), void *data)
2953{
1/*
2 * Copyright (C) 1996-2001 Paul Mackerras (paulus@cs.anu.edu.au)
3 * Ben. Herrenschmidt (benh@kernel.crashing.org)
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.

--- 2937 unchanged lines hidden (view full) ---

2946 * Early video resume hook
2947 */
2948
2949static void (*pmac_early_vresume_proc)(void *data);
2950static void *pmac_early_vresume_data;
2951
2952void pmac_set_early_video_resume(void (*proc)(void *data), void *data)
2953{
2954 if (_machine != _MACH_Pmac)
2954 if (!machine_is(powermac))
2955 return;
2956 preempt_disable();
2957 pmac_early_vresume_proc = proc;
2958 pmac_early_vresume_data = data;
2959 preempt_enable();
2960}
2961EXPORT_SYMBOL(pmac_set_early_video_resume);
2962

--- 50 unchanged lines hidden ---
2955 return;
2956 preempt_disable();
2957 pmac_early_vresume_proc = proc;
2958 pmac_early_vresume_data = data;
2959 preempt_enable();
2960}
2961EXPORT_SYMBOL(pmac_set_early_video_resume);
2962

--- 50 unchanged lines hidden ---