Solution 1:

I would define racism thus:

treating people unfairly based on their race, even though their race is only partly or not at all relevant to the case

There is no reason why you couldn't treat the dominant "race" in a society unfairly in certain cases.

However, it is less likely to be considered unfair if you take some things from the dominant group and give them to a weaker group, and the same action will therefore often not be perceived as racist when it benefits a non-dominant group.

Even so, when a particular white individual is treated unfairly because he is white, that is more likely to be perceived as racism than when it concerns all white people as a group.